/* Main Styles */
:root {
    --primary: #173b32;
    --secondary: #b79250;
    --bg: #fbf8f1;
    --text: #17211d;
    --accent: #f5f0e7;
    --muted: #646a67;
    --line: #173b322e;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    font-family: 'Avenir Next', Segoe UI, Helvetica, Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 96px;
    padding: 0 3.5vw;
    display: grid;
    grid-template-columns: minmax(220px, 42%) 1fr auto;
    align-items: center;
    z-index: 20;
}

.wordmark {
    display: inline-flex;
    flex-direction: column;
    width: max-content;
    color: var(--primary);
    text-transform: uppercase;
    font-family: Georgia, 'Times New Roman', serif;
}

.wordmark span {
    font-size: 1.34rem;
    line-height: 1.05;
    letter-spacing: .27em;
}

.wordmark small {
    font-size: .63rem;
    font-weight: 600;
    letter-spacing: .52em;
    color: var(--secondary);
    margin-top: .55rem;
    padding-left: .4rem;
    font-family: 'Avenir Next', Segoe UI, sans-serif;
}

.desktop-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3.5rem);
    padding-right: clamp(1.2rem, 3vw, 3.5rem);
    font-size: .91rem;
}

.desktop-nav a {
    position: relative;
    padding-block: .75rem;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    bottom: .3rem;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: 100%;
    transition: transform .22s;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: 0;
}

.header-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 110px;
    height: 48px;
    border: 1px solid var(--secondary);
    color: #8d692d;
    font-family: Georgia, 'Times New Roman', serif;
    transition: background .2s, color .2s;
}

.header-cta:hover,
.header-cta:focus-visible {
    background: var(--primary);
    color: var(--bg);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: var(--bg);
    padding: 2rem 1.5rem;
    z-index: 1000;
    transition: left .3s ease;
    box-shadow: 2px 0 20px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.mobile-menu.open {
    left: 0;
}

.mobile-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu nav a {
    padding: .75rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
}

.mobile-cta {
    background: var(--primary);
    color: var(--bg) !important;
    text-align: center;
    padding: .75rem !important;
    border-bottom: none !important;
    margin-top: 1rem;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 42% 58%;
    grid-template-rows: 1fr auto;
    min-height: 900px;
    background: var(--accent);
    position: relative;
    overflow: hidden;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8.5rem 3.5vw 8rem;
    min-width: 0;
}

.image-label {
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.62rem;
    position: absolute;
    bottom: 1.1rem;
    right: 1.3rem;
    background: rgba(15, 45, 38, 0.76);
    padding: 0.45rem 0.65rem;
}

.eyebrow {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--secondary);
    margin: 0 0 1.8rem;
}

.hero h1 {
    font-size: clamp(3.7rem, 5.35vw, 6.2rem);
    line-height: .98;
    color: var(--primary);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -.055em;
    max-width: 620px;
    margin: 0;
}

.hero-summary {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--muted);
    max-width: 510px;
    margin: 2rem 0 0;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 2.5vw, 3rem);
    margin-top: 2.2rem;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 58px;
    padding: .85rem 1.7rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1rem;
    border: 1px solid transparent;
    transition: background .18s, color .18s, transform .18s;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--primary);
    color: var(--bg);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #0f2d26;
}

.button-secondary {
    border-color: var(--primary);
    color: var(--primary);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: var(--accent);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 1.1rem;
    padding: .75rem 0 .55rem;
    font-size: .94rem;
    font-weight: 500;
    border-bottom: 1px solid var(--secondary);
}

.text-link span {
    font-size: 1.45rem;
    color: var(--secondary);
    transition: transform .18s;
}

.text-link:hover span,
.text-link:focus-visible span {
    transform: translateX(6px);
}

.hero-image {
    grid-area: 1 / 2 / span 2;
    min-height: 900px;
    background: linear-gradient(90deg, #f5f0e72e, transparent 16%), 
                linear-gradient(#0d292205, #0d29222b),
                var(--accent);
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-rail {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42%;
    min-height: 82px;
    background: #f5f0e7f0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--secondary);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

.hero-rail span {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 42px;
    padding: 0 1rem;
    font-size: .72rem;
    line-height: 1.35;
    border-right: 1px solid var(--secondary);
}

.hero-rail span:last-child {
    border-right: 0;
}

.hero-rail b {
    font-size: .67rem;
    font-weight: 600;
    color: var(--secondary);
}

/* Sections */
.section-shell {
    padding: clamp(5.5rem, 8vw, 9rem) clamp(1.5rem, 6vw, 7rem);
}

.section-heading {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 8vw;
    align-items: end;
}

.section-heading h2 {
    font-size: clamp(2.8rem, 4.3vw, 5rem);
    line-height: 1.02;
    color: var(--primary);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -.055em;
    max-width: 760px;
    margin: 0;
}

.section-heading > p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--muted);
    margin: 0;
}

/* Residences */
.residence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: clamp(3.5rem, 6vw, 6rem);
}

.residence-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 450px;
    padding: 2rem;
    border-right: 1px solid var(--line);
    transition: background .24s, transform .24s;
}

.residence-card:last-child {
    border-right: 0;
}

.residence-card:hover {
    background: var(--accent);
    transform: translateY(-6px);
}

.residence-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.residence-card-top > span {
    font-size: 1.35rem;
    color: var(--secondary);
    font-family: Georgia, serif;
}

.residence-card-top p {
    font-size: .68rem;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    text-align: right;
    max-width: 150px;
    margin: 0;
}

.residence-card h3 {
    font-size: clamp(2rem, 2.7vw, 3rem);
    font-weight: 400;
    font-family: Georgia, serif;
    color: var(--primary);
    margin: 0 0 1rem;
}

.residence-card div > p {
    line-height: 1.75;
    color: var(--muted);
    margin: 0;
}

.price-range {
    color: var(--secondary) !important;
    font-weight: 600;
    margin-top: 0.5rem !important;
}

.residence-card > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    font-size: .86rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
}

.residence-card > a span {
    font-size: 1.2rem;
    color: var(--secondary);
}

/* Featured Posts */
.featured-posts-grid {
    margin-top: 3rem;
}

.featured-post-item {
    margin-bottom: 2rem;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.featured-post-item .col-md-6 {
    padding: 0;
}

.featured-post-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 300px;
}

.featured-post-content {
    padding: 2rem;
}

.featured-post-content .badge {
    background: var(--secondary) !important;
    padding: 0.4rem 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.featured-post-content h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
    font-family: Georgia, serif;
    color: var(--primary);
}

.featured-post-content h3 a:hover {
    color: var(--secondary);
}

.featured-post-content p {
    color: var(--muted);
    line-height: 1.7;
}

/* Experience */
.experience {
    background: var(--primary);
    color: white;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(3rem, 6vw, 7rem);
}

.experience-intro {
    position: sticky;
    top: 3rem;
    align-self: start;
}

.experience-intro h2 {
    color: var(--bg);
    font-size: clamp(2.8rem, 4.3vw, 5rem);
    line-height: 1.02;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -.055em;
}

.experience-intro > p {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.7);
    max-width: 550px;
    margin-top: 2rem;
}

.experience-visual {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 1rem;
}

.visual-main,
.visual-secondary {
    min-height: 540px;
    position: relative;
    overflow: hidden;
}

.visual-main img,
.visual-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-secondary {
    margin-top: 6rem;
}

.experience-list {
    grid-column: 2;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.experience-list article {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 1rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.experience-list article > span {
    font-family: Georgia, serif;
    color: var(--secondary);
}

.experience-list h3 {
    font-size: 1.55rem;
    font-weight: 400;
    font-family: Georgia, serif;
    color: var(--bg);
    margin: 0 0 .45rem;
}

.experience-list p {
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* Location */
.location {
    background: var(--accent);
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(4rem, 8vw, 10rem);
}

.location h2 {
    font-size: clamp(2.8rem, 4.3vw, 5rem);
    line-height: 1.02;
    color: var(--primary);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -.055em;
    margin-bottom: 2rem;
}

.location-copy > p {
    max-width: 680px;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--muted);
}

.light-link {
    margin-top: 2rem;
}

.location-points {
    border-top: 1px solid var(--line);
}

.location-points > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 2rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--line);
}

.location-points span {
    font-size: 1.35rem;
    font-family: Georgia, serif;
    color: var(--secondary);
}

.location-points p {
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
}

/* Enquire */
.enquire {
    display: grid;
    grid-template-columns: 1fr .9fr;
    align-items: start;
    gap: clamp(3rem, 8vw, 9rem);
}

.enquire h2 {
    font-size: clamp(2.8rem, 4.3vw, 5rem);
    line-height: 1.02;
    color: var(--primary);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -.055em;
}

.enquire-panel {
    background: var(--accent);
    padding: clamp(2rem, 4vw, 4rem);
}

.enquire-panel > p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
}

.enquire-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin: 2rem 0;
}

.enquire-panel small {
    display: block;
    line-height: 1.6;
    color: #7d6d55;
}

/* Testimonials */
.testimonial-card {
    background: var(--accent);
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-card .stars {
    color: var(--secondary);
}

.testimonial-card p {
    font-style: italic;
    line-height: 1.7;
    color: var(--text);
}

.testimonial-card h5 {
    color: var(--primary);
    font-family: Georgia, serif;
}

/* FAQ */
.accordion-item {
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
}

.accordion-button {
    padding: 1.25rem 0;
    background: transparent !important;
    font-family: Georgia, serif;
    font-size: 1.1rem;
    color: var(--primary);
    box-shadow: none !important;
}

.accordion-button:focus {
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--secondary);
}

.accordion-body {
    padding: 0 0 1.25rem;
    color: var(--muted);
    line-height: 1.7;
}

/* Blog */
.blog-post {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}

.blog-post:last-child {
    border-bottom: 0;
}

.blog-post h2 {
    font-family: Georgia, serif;
    color: var(--primary);
    margin: 1rem 0;
}

.blog-post h2 a:hover {
    color: var(--secondary);
}

.post-meta {
    font-size: 0.9rem;
}

.post-meta span {
    margin-right: 1.5rem;
}

.post-meta i {
    margin-right: 0.3rem;
}

.post-content {
    line-height: 1.9;
    font-size: 1.05rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    font-family: Georgia, serif;
    color: var(--primary);
    margin-top: 2rem;
}

.post-content ul,
.post-content ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-tags .tag-item {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    margin: 0.2rem;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.85rem;
}

.post-tags .tag-item:hover {
    background: var(--secondary);
    color: white;
}

/* Sidebar */
.blog-sidebar .sidebar-widget {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}

.blog-sidebar .sidebar-widget:last-child {
    border-bottom: 0;
}

.blog-sidebar h4 {
    font-family: Georgia, serif;
    color: var(--primary);
    margin-bottom: 1rem;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
}

.category-list li:last-child {
    border-bottom: 0;
}

.category-list a:hover {
    color: var(--secondary);
}

.recent-posts-list {
    list-style: none;
    padding: 0;
}

.recent-posts-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
}

.recent-posts-list li:last-child {
    border-bottom: 0;
}

.recent-posts-list small {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
}

.tag-cloud .tag-item {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    margin: 0.2rem;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.85rem;
}

.tag-cloud .tag-item:hover {
    background: var(--secondary);
    color: white;
}

/* Theme Switcher */
.theme-switcher .dropdown-menu {
    min-width: 120px;
}

.theme-option {
    cursor: pointer;
    padding: 0.5rem 1rem;
}

.theme-option:hover {
    background: var(--accent);
}

/* Footer */
footer {
    background: #0f2d26;
    color: rgba(255,255,255,0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    min-height: 150px;
    padding: 2rem clamp(1.5rem, 6vw, 7rem);
    font-size: .75rem;
}

.footer-mark span {
    color: var(--bg);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: rgba(255,255,255,0.6);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary);
}

/* Floor Plans */
.floor-plan-card {
    background: var(--accent);
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s;
}

.floor-plan-card:hover {
    transform: translateY(-4px);
}

.floor-plan-card h3 {
    font-family: Georgia, serif;
    color: var(--primary);
}

.floor-plan-card ul {
    padding: 0;
}

.floor-plan-card ul li {
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--line);
}

.floor-plan-card ul li:last-child {
    border-bottom: 0;
}

.floor-plan-card ul i {
    width: 1.5rem;
    color: var(--secondary);
}

/* Responsive */
@media (max-width: 1100px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: auto;
    }
    
    .hero-copy {
        min-height: 670px;
        padding-top: 9rem;
        padding-bottom: 5.5rem;
    }
    
    .hero h1 {
        max-width: 760px;
    }
    
    .hero-image {
        grid-area: auto / 1;
        min-height: 65vw;
        max-height: 780px;
    }
    
    .hero-rail {
        width: 100%;
        position: relative;
    }
    
    .experience {
        grid-template-columns: 1fr;
    }
    
    .experience-intro {
        position: static;
    }
    
    .experience-list {
        grid-column: 1;
    }
}

@media (max-width: 760px) {
    .site-header {
        height: 82px;
        padding-inline: 1.25rem;
    }
    
    .wordmark span {
        font-size: 1rem;
    }
    
    .wordmark small {
        font-size: .48rem;
        margin-top: .35rem;
    }
    
    .header-cta {
        min-width: 88px;
        height: 42px;
        font-size: .85rem;
    }
    
    .hero-copy {
        min-height: 650px;
        padding: 8rem 1.25rem 4rem;
    }
    
    .hero h1 {
        font-size: clamp(3.4rem, 15vw, 5.2rem);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-image {
        min-height: 620px;
    }
    
    .hero-rail {
        grid-template-columns: 1fr;
        padding: .5rem 0;
    }
    
    .hero-rail span {
        border-right: 0;
        border-bottom: 1px solid var(--secondary);
        min-height: 48px;
        padding-inline: 1.25rem;
    }
    
    .hero-rail span:last-child {
        border-bottom: 0;
    }
    
    .section-heading,
    .location,
    .enquire {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .residence-grid {
        grid-template-columns: 1fr;
    }
    
    .residence-card {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        min-height: 390px;
    }
    
    .experience-visual {
        grid-template-columns: 1fr;
    }
    
    .visual-main,
    .visual-secondary {
        min-height: 520px;
        margin-top: 0;
    }
    
    .visual-secondary {
        min-height: 420px;
    }
    
    .location-points > div {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }
    
    footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .featured-post-item .col-md-6 img {
        min-height: 200px;
    }
}

/* Animations */
@keyframes reveal {
    0% { opacity: 0; transform: translateY(18px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes imageReveal {
    0% { opacity: .4; transform: scale(1.025); }
    100% { opacity: 1; transform: scale(1); }
}

.hero-copy > * {
    animation: reveal .65s both;
}

.hero-copy > :nth-child(2) {
    animation-delay: 80ms;
}

.hero-copy > :nth-child(3) {
    animation-delay: .15s;
}

.hero-copy > :nth-child(4) {
    animation-delay: .22s;
}

.hero-image {
    animation: imageReveal 1s both;
}





/* Desktop Navigation - Enhanced visibility */
.desktop-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3.5rem);
    padding-right: clamp(1.2rem, 3vw, 3.5rem);
    font-size: .91rem;
}

.desktop-nav a {
    position: relative;
    padding: 0.6rem 1.2rem;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.03em;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.desktop-nav a::after {
    display: none;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.desktop-nav a:active {
    transform: translateY(0px);
}

/* Active state for current section */
.desktop-nav a.active {
    background: rgba(183, 146, 80, 0.6);
    border-color: rgba(183, 146, 80, 0.4);
}

/* Header CTA button - Enhanced visibility */
.header-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 110px;
    height: 48px;
    padding: 0 1.5rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 600;
    color: #ffffff;
    background: rgba(183, 146, 80, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.header-cta:hover,
.header-cta:focus-visible {
    background: rgba(183, 146, 80, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(183, 146, 80, 0.4);
}

.header-cta:active {
    transform: translateY(0px);
}

/* Mobile Menu - Keep the same style for consistency */
.mobile-menu nav a {
    color: var(--text);
    /* Already set in existing CSS */
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .desktop-nav {
        display: none;
    }
}

@media (max-width: 760px) {
    .header-cta {
        min-width: 88px;
        height: 42px;
        font-size: .85rem;
        padding: 0 1rem;
    }
}

/* Optional: For a lighter, more subtle variant */
.desktop-nav a.light-variant {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.desktop-nav a.light-variant:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Optional: For a dark variant (if hero is light) */
.desktop-nav a.dark-variant {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.desktop-nav a.dark-variant:hover {
    background: rgba(0, 0, 0, 0.65);
}

/* Fixed Header - Sticky on scroll */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 96px;
    padding: 0 3.5vw;
    display: grid;
    grid-template-columns: minmax(220px, 42%) 1fr auto;
    align-items: center;
    z-index: 1000;
    background: rgba(251, 248, 241, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(23, 59, 50, 0.08);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

/* Header shrink effect on scroll */
.site-header.scrolled {
    height: 70px;
    background: rgba(251, 248, 241, 0.96);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Desktop Navigation - Fixed header variant */
.desktop-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3.5rem);
    padding-right: clamp(1.2rem, 3vw, 3.5rem);
    font-size: .91rem;
}

.desktop-nav a {
    position: relative;
    padding: 0.6rem 1.2rem;
    color: var(--text, #17211d);
    font-weight: 500;
    letter-spacing: 0.03em;
    background: transparent;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
    background: rgba(23, 59, 50, 0.08);
    border-color: rgba(23, 59, 50, 0.12);
}

/* Active navigation link */
.desktop-nav a.active {
    background: rgba(183, 146, 80, 0.15);
    border-color: rgba(183, 146, 80, 0.25);
    color: var(--secondary, #b79250);
}

/* Header CTA */
.header-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 110px;
    height: 48px;
    padding: 0 1.5rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 600;
    color: #ffffff;
    background: var(--secondary, #b79250);
    border-radius: 4px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.header-cta:hover,
.header-cta:focus-visible {
    background: var(--primary, #173b32);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 59, 50, 0.3);
}

/* Wordmark - Adjust for fixed header */
.wordmark {
    display: inline-flex;
    flex-direction: column;
    width: max-content;
    color: var(--primary, #173b32);
    text-transform: uppercase;
    font-family: Georgia, 'Times New Roman', serif;
    transition: all 0.3s ease;
}

/* Shrink wordmark when header is scrolled */
.site-header.scrolled .wordmark span {
    font-size: 1.1rem;
}

.site-header.scrolled .wordmark small {
    font-size: 0.5rem;
    margin-top: 0.3rem;
}

.wordmark span {
    font-size: 1.34rem;
    line-height: 1.05;
    letter-spacing: .27em;
}

.wordmark small {
    font-size: .63rem;
    font-weight: 600;
    letter-spacing: .52em;
    color: var(--secondary, #b79250);
    margin-top: .55rem;
    padding-left: .4rem;
    font-family: 'Avenir Next', Segoe UI, sans-serif;
}

/* Mobile menu toggle - Fixed header */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary, #173b32);
    padding: 0.5rem;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: var(--bg, #fbf8f1);
    padding: 2rem 1.5rem;
    z-index: 1001;
    transition: left .3s ease;
    box-shadow: 2px 0 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    padding-top: 4rem;
}

.mobile-menu.open {
    left: 0;
}

.mobile-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary, #173b32);
    margin-bottom: 2rem;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    cursor: pointer;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu nav a {
    padding: .75rem 0;
    border-bottom: 1px solid rgba(23, 59, 50, 0.1);
    font-size: 1.1rem;
    color: var(--text, #17211d);
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-menu nav a:hover {
    color: var(--secondary, #b79250);
}

.mobile-cta {
    background: var(--secondary, #b79250) !important;
    color: #ffffff !important;
    text-align: center;
    padding: .75rem !important;
    border-bottom: none !important;
    margin-top: 1rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 1100px) {
    .site-header {
        grid-template-columns: 1fr auto;
        padding: 0 1.25rem;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
}

@media (max-width: 760px) {
    .site-header {
        height: 70px;
    }
    
    .site-header.scrolled {
        height: 60px;
    }
    
    .wordmark span {
        font-size: 1rem;
    }
    
    .wordmark small {
        font-size: .48rem;
        margin-top: .35rem;
    }
    
    .header-cta {
        min-width: 88px;
        height: 42px;
        font-size: .85rem;
        padding: 0 1rem;
    }
    
    .site-header.scrolled .wordmark span {
        font-size: 0.9rem;
    }
    
    .site-header.scrolled .wordmark small {
        font-size: 0.4rem;
    }
}

/* Add padding to hero to account for fixed header */
.hero {
    padding-top: 96px; /* Match header height */
    display: grid;
    grid-template-columns: 42% 58%;
    grid-template-rows: 1fr auto;
    min-height: 900px;
    background: var(--accent);
    position: relative;
    overflow: hidden;
}

/* Adjust padding when header is scrolled */
@media (max-width: 760px) {
    .hero {
        padding-top: 70px;
    }
}

/* For pages with no hero (blog, contact, etc.) */
.page-content {
    padding-top: 96px;
}

@media (max-width: 760px) {
    .page-content {
        padding-top: 70px;
    }
}


/* Theme Switcher Styles */
.theme-switcher .dropdown-toggle {
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.theme-switcher .dropdown-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.theme-switcher .dropdown-menu {
    min-width: 160px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
}

.theme-switcher .dropdown-item {
    padding: 0.6rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.theme-switcher .dropdown-item:hover {
    background: var(--accent);
}

.theme-switcher .dropdown-item.active {
    background: var(--primary);
    color: white;
}

.theme-switcher .dropdown-item .color-preview {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    vertical-align: middle;
    margin-right: 8px;
    border: 1px solid rgba(0,0,0,0.1);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    padding: 0.6rem 1.2rem;
    color: var(--text);
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.nav-dropdown-toggle:hover {
    color: var(--secondary);
}

.nav-dropdown-toggle i {
    font-size: 0.7rem;
    margin-left: 4px;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-radius: 4px;
    padding: 0.5rem 0;
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.05);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.5rem 1.2rem;
    color: var(--text);
    font-size: 0.9rem;
    transition: background 0.2s;
    text-decoration: none;
}

.nav-dropdown-menu a:hover {
    background: var(--accent);
    color: var(--primary);
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile Dropdown - Indented */
.mobile-dropdown-toggle {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(23, 59, 50, 0.1);
    font-size: 1.1rem;
    color: var(--text);
    cursor: pointer;
}

.mobile-dropdown-toggle i {
    float: right;
    transition: transform 0.3s;
}

.mobile-dropdown-toggle.open i {
    transform: rotate(180deg);
}

.mobile-dropdown {
    display: none;
    padding-left: 1.5rem;
}

.mobile-dropdown.open {
    display: block;
}

.mobile-dropdown a {
    padding: 0.5rem 0 !important;
    border-bottom: none !important;
    font-size: 0.95rem !important;
}

.mobile-dropdown a.indented {
    padding-left: 1.5rem !important;
    border-left: 2px solid var(--secondary);
}

/* Theme Switcher Dropdown */
.theme-switcher .dropdown-toggle {
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.theme-switcher .dropdown-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.theme-switcher .dropdown-menu {
    min-width: 160px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
}

.theme-switcher .dropdown-item {
    padding: 0.6rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.theme-switcher .dropdown-item:hover {
    background: var(--accent);
}

.theme-switcher .dropdown-item.active {
    background: var(--primary);
    color: white;
}

.theme-switcher .dropdown-item .color-preview {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 1100px) {
    .desktop-nav {
        display: none;
    }
    .header-right {
        display: none;
    }
    .mobile-toggle {
        display: block !important;
    }
}

/* ========================================
   MOBILE MENU
   ======================================== */

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    padding: 0.5rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1001;
}

.mobile-toggle:hover {
    color: var(--secondary);
}

/* Mobile Menu Container */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: var(--bg);
    padding: 1.5rem;
    z-index: 1002;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    display: block;
}

.mobile-menu.open {
    left: 0;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Close Button */
.mobile-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    padding: 0.5rem;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    transition: color 0.3s, transform 0.3s;
    z-index: 1003;
}

.mobile-close:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

/* Mobile Menu Navigation */
.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 3.5rem;
}

.mobile-menu nav a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(23, 59, 50, 0.08);
    font-size: 1.05rem;
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

.mobile-menu nav a:hover {
    color: var(--secondary);
    padding-left: 0.5rem;
}

.mobile-menu nav a.indented {
    padding-left: 1.5rem !important;
    font-size: 0.95rem;
    border-left: 2px solid var(--secondary);
}

.mobile-menu nav a.indented:hover {
    padding-left: 2rem !important;
}


/* Mobile CTA Button */
.mobile-cta {
    background: var(--secondary) !important;
    color: #ffffff !important;
    text-align: center;
    padding: 0.75rem !important;
    border-bottom: none !important;
    margin-top: 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
}

.mobile-cta:hover {
    background: var(--primary) !important;
    padding-left: 0.5rem !important;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 1rem;
}

.mobile-menu-header .wordmark {
    font-size: 0.9rem;
}

.mobile-menu-header .wordmark small {
    font-size: 0.5rem;
}

/* Responsive - Show mobile toggle on smaller screens */
@media (max-width: 1100px) {
    .mobile-toggle {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        width: 280px;
        left: -290px;
        padding: 1rem;
    }
    
    .mobile-menu nav a {
        font-size: 0.95rem;
        padding: 0.6rem 0;
    }
    
    .mobile-dropdown-toggle {
        font-size: 0.95rem;
        padding: 0.6rem 0;
    }
    
    .mobile-dropdown a {
        font-size: 0.85rem !important;
        padding-left: 1rem !important;
    }
    
    .mobile-dropdown a.indented {
        padding-left: 1.5rem !important;
    }
    
    .mobile-close {
        font-size: 1.5rem;
        top: 0.75rem;
        right: 1rem;
    }
}