/* 
    Paranjape Forest Trails: Stable Luxury Architectural Foundation
    Version: 2.0 (Architectural Precision)
*/

:root {
    /* Chromatic Shift: Stucco & Maroon Palette */
    --pscl-red: #B3302A;
    --pscl-maroon: #6B0D0D; 
    --pscl-dark: #1A1A1A; /* Slate */
    --pscl-bg: #FDFCF8;   /* Stucco / Off-white */
    --pscl-gold: #8C732F; /* Subdued Gold */
    --pscl-gray: #F5F5F0; /* Linen Gray */
    --pscl-muted: #666666;
    --pscl-white: #FFFFFF;
    --pscl-forest: #2D4F3C; /* Forest Accent */
    
    /* Typography: Google-inspired Sans-Serif Foundation */
    --font-heading: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-max: 1440px;
    --container-padding: 5vw;
    --header-height: 100px;
    
    /* Animation Hooks */
    --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
    --shimmer-gradient: linear-gradient(90deg, rgba(245,245,240,0) 0%, rgba(245,245,240,0.5) 50%, rgba(245,245,240,0) 100%);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

html, body {
    background: var(--pscl-bg);
    color: var(--pscl-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    overscroll-behavior-x: none;
    width: 100% !important;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    background: var(--pscl-gray);
}

/* Layout System: 12-Column Grid */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .grid-12 { gap: 1.5rem; }
}

@media (max-width: 1024px) {
    .grid-12 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

@media (max-width: 1024px) {
    .container { padding: 0 1.5rem; }
    .grid-12 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
        grid-column: span 1 !important;
    }
}

/* Sections */
.section {
    padding: 10rem 0;
    position: relative;
}

.section-label {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    color: var(--pscl-gold);
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
    color: var(--pscl-dark);
}

.section-title i {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--pscl-maroon);
}

/* Structural Framing: Boxing Maroon Utility */
.box-maroon {
    border: 1px solid var(--pscl-maroon);
    padding: 3rem;
    position: relative;
    background: #fff;
    transition: transform 0.4s var(--ease-editorial);
}

.box-maroon::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(107, 13, 13, 0.15);
    pointer-events: none;
}

/* Loader: Architectural Reveal */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-inner {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.5em;
    margin-bottom: 2rem;
}

.loader-line {
    width: 200px;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
}

.loader-line span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--pscl-red);
}

.loader-status {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--pscl-muted);
    text-transform: uppercase;
}

/* Navigation: Stability */
.header-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.5s var(--ease-editorial);
}

.nav-main {
    width: 100%;
    height: 100px;
    background: var(--pscl-maroon);
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    transition: all 0.5s var(--ease-editorial);
}

.header-main.scrolled .nav-main {
    height: 75px;
    background: rgba(90, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem; /* Reduced to provide more internal breathing room */
    height: 100%;
    position: relative;
}

.nav-brand {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    transition: transform 0.3s var(--ease-editorial);
}

.nav-brand:hover {
    transform: translateX(5px);
}

.brand-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-main {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--pscl-white);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.brand-sub {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 0.75rem;
    color: var(--pscl-gold);
    letter-spacing: 0.45em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-search-box {
    flex: 2; /* Increased priority to protect lead-links */
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    max-width: 700px;
}

.search-proxy {
    background: rgba(255,255,255,0.12); /* Increased contrast as seen in screenshot */
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.6rem 2rem;
    border-radius: 50px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s var(--ease-editorial);
}

@media (max-width: 1200px) {
    .search-proxy { padding: 0.7rem 1.5rem; }
    .search-links { gap: 1rem !important; }
}

@media (max-width: 1024px) {
    .nav-search-box { display: none !important; } 
    .nav-actions { display: none !important; }
}

.search-proxy:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--pscl-gold);
}

.search-links {
    display: flex;
    gap: 1.5rem; /* Tightened to prevent wrapping distortion */
    font-size: 0.65rem; /* Refined for executive look */
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    align-items: center;
    min-width: 280px; /* Reduced to respect viewport constraints */
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: #25D366;
    color: #fff;
    height: 48px; /* Standardized height */
    padding: 0 1.8rem; /* Aligned padding */
    border-radius: 50px;
    font-size: 0.7rem; /* Aligned typography */
    font-weight: 700;
    letter-spacing: 0.15em; /* Standardized spacing */
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.tour-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pscl-gold);
    color: white;
    border: none;
    height: 48px; /* Standardized height */
    padding: 0 1.8rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.7rem; /* Aligned typography */
    letter-spacing: 0.1em;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.tour-btn:hover {
    background: #B38E5D;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(183, 115, 47, 0.2);
}

.nav-item {
    text-decoration: none;
    color: var(--pscl-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.4s var(--ease-editorial);
    position: relative;
    font-weight: 500;
}

.nav-item:hover {
    color: var(--pscl-red);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--pscl-red);
}

.secondary-silo-nav {
    position: sticky;
    top: 100px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 900;
    border-bottom: 2px solid var(--pscl-dark);
    padding: 1.2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-editorial);
}

.header-main.scrolled + .secondary-silo-nav,
body.scrolled .secondary-silo-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.secondary-silo-nav .container {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.secondary-silo-nav a {
    color: var(--pscl-dark);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.secondary-silo-nav a:hover {
    color: var(--pscl-maroon);
}

.hero-title span { display: block; overflow: hidden; }
.hero-title span span { display: block; }

.btn-primary {
    background: var(--pscl-red);
    color: white;
    padding: 0.8rem 2rem;
    border: 1px solid var(--pscl-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.4s var(--ease-editorial);
}

.btn-primary:hover {
    background: transparent;
    color: var(--pscl-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(179, 48, 42, 0.2);
}

/* Premium Button Shimmer (Phase 18) */
.btn-primary, .tour-btn, .whatsapp-btn {
    position: relative;
    overflow: hidden;
}

.btn-primary::before, .tour-btn::before, .whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.6s;
}

.btn-primary:hover::before, .tour-btn:hover::before, .whatsapp-btn:hover::before {
    left: 100%;
}

/* Premium Breadcrumb UI (Phase 18) */
.breadcrumb-nav {
    padding: 2rem 0;
    background: transparent;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.breadcrumb-item a {
    color: var(--pscl-gold);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--pscl-red);
}

.breadcrumb-item.active {
    color: var(--pscl-muted);
    pointer-events: none;
}

.breadcrumb-separator {
    color: rgba(0,0,0,0.2);
    font-size: 0.8rem;
}

/* Heritage Ticker: Momentum & Social Proof */
.heritage-ticker {
    background: var(--pscl-red);
    color: white;
    padding: 0.4rem 0;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    gap: 4rem;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
}

.ticker-item {
    flex-shrink: 0;
}
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Hero Section: Editorial Depth */
.hero-section {
    height: 100vh; /* Fallback */
    height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #000;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%; /* Extra height for parallax */
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 40%, transparent 100%);
    z-index: 1;
}

@media (max-width: 1024px) {
    .hero-bg {
        width: 100% !important;
        height: 100% !important;
        background-position: center !important;
    }
    .hero-vignette {
        background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 60%, rgba(0,0,0,0.95) 100%) !important;
    }
    .hero-container {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 5vw !important;
    }
    .hero-content {
        max-width: 100% !important;
        text-align: left;
        display: block;
        width: 100%;
        position: relative;
    }
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
}

.accent-line {
    width: 60px;
    height: 2px;
    background: var(--pscl-red);
    margin-bottom: 2rem;
}

.top-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    font-size: 0.8rem;
    color: var(--pscl-gold);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    line-height: 1; /* Tightened to prevent vertical drift */
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
    color: var(--pscl-white);
}

.hero-title .title-top {
    display: block;
    font-size: clamp(1.8rem, 5vw, 3.2rem); /* Conservative desktop scaling */
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-title .title-bottom {
    display: block;
    font-size: clamp(2rem, 7vw, 4.5rem); /* Capped to prevent overflow distortion */
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--pscl-gold);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 4vw, 1.25rem);
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    line-height: 1.6;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: var(--container-padding);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    z-index: 2;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: white;
    animation: scroll-anim 2s infinite var(--ease-editorial);
}

.scroll-indicator .text {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--pscl-muted);
}

@keyframes scroll-anim {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* Intel Section: Visual Data */
.intel-section {
    background: #0f0f0f;
}

.intel-cards-container {
    display: flex;
    justify-content: space-between;
    margin-top: 5rem;
    gap: 2rem;
}

.intel-card {
    flex: 1;
    background: var(--pscl-gray);
    padding: 3rem 2rem;
    border: 1px solid rgba(255,255,255,0.03);
    transition: border-color 0.5s ease;
}

.intel-card:hover {
    border-color: var(--pscl-red);
}

.card-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--pscl-red);
    margin-bottom: 0.5rem;
}

.card-label {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--pscl-muted);
}

/* Grandeur Scale Module */
.grandeur-scale .scale-visual {
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.grandeur-scale .hero-vignette {
    background: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
}

/* Property Pricing Table: Sovereign Standard */
.pricing-container {
    margin-top: 4rem;
    background: #0d0d0d;
    border: 1px solid var(--pscl-gold);
}

.pricing-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 2.5rem 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    align-items: center;
    transition: background 0.3s ease;
}

.pricing-row:hover {
    background: rgba(255,255,255,0.01);
}

.pricing-row:last-child { border-bottom: none; }
.pricing-header {
    background: rgba(212, 175, 55, 0.05);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--pscl-gold);
}

.prop-type { font-family: var(--font-heading); font-size: 1.5rem; }
.prop-price { font-weight: 600; color: var(--pscl-red); font-size: 1.1rem; }
.prop-tag { font-size: 0.7rem; color: var(--pscl-muted); text-transform: uppercase; }

/* Ecosystem Infographic */
.stat-bubble {
    text-align: center;
    padding: 3rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-bubble:hover {
    transform: translateY(-10px);
    border-color: var(--pscl-gold);
}

.bubble-val {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--pscl-gold);
    margin-bottom: 0.5rem;
}

.stat-bubble p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--pscl-muted);
}

/* 24-Hour Timeline */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255,255,255,0.05);
}

.timeline-events {
    padding-left: 4rem;
}

.timeline-event {
    margin-bottom: 5rem;
    position: relative;
}

.timeline-event::before {
    content: '';
    position: absolute;
    left: -4rem;
    top: 0.5rem;
    width: 10px;
    height: 10px;
    background: var(--pscl-red);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--pscl-red);
}

.time-stamp {
    display: block;
    font-size: 0.9rem;
    color: var(--pscl-gold);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.timeline-event h4 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Hotspot Preview Upgrade */
.hotspot-preview {
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-editorial);
}

.hotspot-preview.active {
    opacity: 1;
    transform: translateY(0);
}

.preview-card {
    background: #0d0d0d;
    border: 1px solid var(--pscl-gold);
    padding: 1rem;
    display: flex;
    gap: 1.5rem;
}

.preview-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.preview-info h4 {
    color: var(--pscl-white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.preview-info p {
    font-size: 0.85rem;
    color: var(--pscl-muted);
}

/* Occupancy Stats */
.occ-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--pscl-red);
    margin-bottom: 1rem;
}

.occ-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Lifestyle Matrix */
.matrix-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.matrix-category {
    padding: 2.5rem;
    background: #000;
    border-top: 2px solid var(--pscl-red);
}

/* Governance Transparency Dashboard (Phase 15.2) */
.governance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.governance-card {
    background: #fff;
    padding: 30px;
    border: 1px solid rgba(140,115,47,0.1);
    border-radius: 15px;
    text-align: center;
}

.gov-icon {
    font-size: 2.5rem;
    color: var(--pscl-gold);
    margin-bottom: 20px;
}

.gov-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--pscl-maroon);
    margin-bottom: 5px;
}

.gov-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pscl-muted);
}

/* Resident Spotlight (Phase 15.4) */
.spotlight-wrap {
    background: #0a0a0a;
    padding: 100px 0;
    color: #fff;
}

.story-card {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.story-image {
    flex: 0 0 450px;
    height: 550px;
    border-radius: 20px;
    overflow: hidden;
}

.story-content {
    flex: 1;
}

.story-content h3 {
    font-family: var(--font-primary);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--pscl-gold);
}

.story-body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.7);
    font-style: italic;
}
.matrix-category h4 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--pscl-white);
}

.matrix-category ul {
    list-style: none;
}

.matrix-category li {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: var(--pscl-muted);
    padding-left: 1.5rem;
    position: relative;
}

.matrix-category li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background: var(--pscl-gold);
}

/* Master Plan Navigator */
.master-plan-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
}

.master-plan-wrap img {
    width: 100%;
    display: block;
}

.plan-hotspot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--pscl-red);
    border-radius: 50%;
    cursor: pointer;
}

.plan-hotspot::after {
    content: attr(data-label);
    position: absolute;
    left: 20px;
    top: -5px;
    white-space: nowrap;
    background: black;
    padding: 4px 12px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plan-hotspot:hover::after {
    opacity: 1;
}

.plan-hotspot::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 1px solid var(--pscl-red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

/* Location Focus & Advantage */
.advantage-section, .micro-market-section {
    border-top: 1px solid rgba(255,255,255,0.05);
}

.micro-market-section .lifestyle-image img {
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

.opportunity-section .accent-line {
    background: var(--pscl-red);
    height: 3px;
    width: 30px;
    margin-bottom: 1.5rem;
}

.opportunity-section h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--pscl-white);
}

/* Duplicate .hero-title and .hero-subtitle removed — originals at line ~644 are the correct clamped versions */
/* Adding only the will-change properties that were unique to the duplicate */
.hero-title {
    will-change: transform, opacity;
    transform-style: preserve-3d;
}
.hero-subtitle {
    will-change: transform, opacity;
    transform-style: preserve-3d;
}
.cluster-header {
    text-align: center;
    margin-bottom: 6rem;
}

.cluster-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.cluster-item.large {
    grid-column: span 2;
    height: 60vh;
}

.cluster-item {
    height: 50vh;
    position: relative;
    overflow: hidden;
}

.cluster-img-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cluster-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s var(--ease-editorial);
}

.cluster-item:hover img {
    transform: scale(1.05);
}

.cluster-info {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    z-index: 2;
}

.cluster-info h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cluster-info p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* Lifestyle Section: Asymmetrical Layout */
.lifestyle-image {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
}

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

.lifestyle-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 5vw;
}

.amenity-list {
    list-style: none;
    margin-top: 3rem;
}

.amenity-list li {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
}

.amenity-list li span {
    font-weight: 600;
    color: var(--pscl-gold);
}

/* Contact Section: Refined Form */
.contact-section {
    background: #000;
}

.form-wrapper {
    max-width: 800px;
    margin: 5rem auto 0;
}

.stable-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: flex;
    gap: 2rem;
}

.stable-form input, .stable-form textarea {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    padding: 1.2rem 0;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.stable-form input:focus, .stable-form textarea:focus {
    outline: none;
    border-color: var(--pscl-red);
}

.btn-submit {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    color: black;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-submit:hover {
    background: var(--pscl-red);
    color: white;
    transform: translateY(-2px);
}

/* Footer: Heritage Architecture */
.footer-main {
    padding: 8rem 0 4rem;
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    font-size: 1.5rem;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
}

.footer-main h4 {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--pscl-gold);
    margin-bottom: 1.5rem;
}

.footer-main ul {
    list-style: none;
}

.footer-main li {
    margin-bottom: 1rem;
    color: var(--pscl-muted);
    font-size: 0.9rem;
}

.footer-bottom {
    margin-top: 8rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--pscl-muted);
}

/* Utility Animations (Controlled) — With CSS-only fallback for GSAP failure */
.reveal-up { opacity: 0; transform: translateY(40px); }
.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-right { opacity: 0; transform: translateX(40px); }

/* Fallback: After 2.5s, if GSAP hasn't fired, make content visible via CSS animation */
@keyframes revealFallback {
    to { opacity: 1; transform: none; }
}
body.loaded .reveal-up,
body.loaded .reveal-left,
body.loaded .reveal-right {
    animation: revealFallback 0.8s ease forwards;
    animation-delay: 2.5s;
}

/* If GSAP has already animated the element (opacity is 1), disable fallback */
.reveal-up[style*="opacity: 1"],
.reveal-up[style*="opacity:1"],
.reveal-left[style*="opacity: 1"],
.reveal-left[style*="opacity:1"],
.reveal-right[style*="opacity: 1"],
.reveal-right[style*="opacity:1"] {
    animation: none !important;
}

/* Mobile Adaptability (Architectural) */
@media (max-width: 1024px) {
    .grid-12 { display: block; }
    .col-6, .col-5, .col-7, .col-4 { width: 100%; margin-bottom: 3rem; }
    .lifestyle-details { padding-left: 0; }
    .hero-title { font-size: clamp(2.5rem, 7vw, 4rem); line-height: 1.1; }
    .nav-links { display: none; }
    .intel-cards-container { flex-direction: column; gap: 1rem; margin-top: 3rem; }
    .intel-card { padding: 2rem 1.5rem; }
    .cluster-grid { grid-template-columns: 1fr; }
    .cluster-item, .cluster-item.large { height: 40vh; height: 40dvh; }
    .form-row { flex-direction: column; }
    .matrix-grid { grid-template-columns: 1fr; }
    .pulse-feature { flex-direction: column; padding: 2rem !important; }
    .pulse-feature div:first-child { margin-bottom: 2rem; }
    .pulse-feature div:last-child { width: 100% !important; flex: none !important; }
    /* Fix mobile grid overflow for all data grids */
    .proximity-grid { grid-template-columns: 1fr 1fr !important; }
    .events-grid { grid-template-columns: 1fr !important; }
    .event-item { border-right: none !important; border-bottom: 1px solid rgba(0,0,0,0.05); }
    .connectivity-viz { padding: 3rem 1.5rem !important; border-radius: 1rem !important; }
    .wiki-grid { grid-template-columns: 1fr !important; }
    .gallery-grid { grid-template-columns: 1fr !important; }
    .gallery-item { height: 250px; }
    .gallery-item.large { grid-column: span 1; }
    .governance-grid { grid-template-columns: 1fr 1fr !important; }
    .story-card { flex-direction: column; gap: 2rem !important; }
    .story-image { flex: none !important; height: 300px !important; }
    .section { padding: 6rem 0; }
    .panoramic-strip { height: 35vh !important; height: 35dvh !important;}
    .ledger-panel { width: 95% !important; padding: 2rem !important; }
    .ledger-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .video-moments-overlay { display: none !important; }
    .timeline-step { flex-direction: column; gap: 1.5rem !important; }
    .step-image { flex: none !important; width: 100% !important; height: 200px !important; }
}

@media (max-width: 480px) {
    .proximity-grid { grid-template-columns: 1fr !important; }
    .governance-grid { grid-template-columns: 1fr !important; }
    .section { padding: 4rem 0; }
    .section-title { font-size: clamp(1.8rem, 5vw, 3rem); }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .cluster-image { height: 200px !important; }
    .stat-circle { width: 120px !important; height: 120px !important; }
    .stat-value { font-size: 1.8rem !important; }
    .commute-step .time { font-size: 1rem; }
    .commute-details h4 { font-size: 1.1rem; }
}

/* Proximity Matrix */
.proc-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border-left: 2px solid var(--pscl-gold);
}

.proc-dist {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--pscl-white);
    flex: 0 0 100px;
}

.proc-info h4 {
    color: var(--pscl-gold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.2rem;
}

/* Cluster Cards */
.cluster-card {
    background: #000;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    transition: transform 0.4s var(--ease-editorial), border-color 0.4s ease;
}

.cluster-card:hover {
    transform: translateY(-10px);
    border-color: var(--pscl-gold);
}

.cluster-img {
    height: 300px;
    position: relative;
}

.status-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--pscl-red);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cluster-content {
    padding: 3rem;
}

.cluster-meta {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.75rem;
    color: var(--pscl-muted);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.gallery-item {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.5);
    transition: filter 0.6s ease, transform 0.6s ease;
}

.gallery-item:hover img {
    filter: grayscale(0);
    transform: scale(1.05);
}

/* Connectivity Dots */
.map-pulse {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--pscl-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.map-pulse::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 1px solid var(--pscl-gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.map-path {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}
.map-path::after {
    content: attr(data-label);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    white-space: nowrap;
    color: var(--pscl-muted);
    text-transform: uppercase;
}

/* Built Language Styles */
.style-item {
    padding-left: 2rem;
    border-left: 1px solid var(--pscl-red);
}
.style-item h4 {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Cultural Cards */
.cultural-card {
    transition: transform 0.5s var(--ease-editorial);
    cursor: pointer;
}
.cultural-card:hover {
    transform: translateY(-15px);
}
.cultural-card h4 {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 1rem;
}

/* Mobile Adjustments for Matrix & Legacy */
@media (max-width: 1024px) {
    .cultural-grid { grid-template-columns: 1fr; }
    .style-viz { height: 400px !important; }
}

/* Scale of Sovereignty */
.comparison-card {
    background: #000;
    padding: 4rem 2rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s var(--ease-editorial);
}
.comparison-card:hover {
    transform: translateY(-10px);
    border-color: var(--pscl-gold);
}
.comp-val {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--pscl-red);
    margin-bottom: 1rem;
}
.comparison-card p {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--pscl-muted);
}

/* Cinematic Immersion */
.immersion-layers {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}
.layer {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}
.immersion-content {
    position: relative;
    z-index: 2;
    top: 50%; transform: translateY(-50%);
    pointer-events: none;
}

/* Advisory Steps */
.step-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--pscl-white);
}
.step-item span {
    width: 40px;
    height: 40px;
    border: 1px solid var(--pscl-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    color: var(--pscl-gold);
}

/* Survey Form */
.survey-group label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    color: var(--pscl-muted);
    margin-bottom: 1rem;
}
.radio-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.radio-options label {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.radio-options input { accent-color: var(--pscl-red); }

/* Sovereign Anthology Timeline */
.anthology-timeline {
    position: relative;
    padding-left: 3rem;
    border-left: 1px solid rgba(255,255,255,0.1);
}
.timeline-step {
    position: relative;
    margin-bottom: 5rem;
}
.timeline-step::before {
    content: '';
    position: absolute;
    left: -3.35rem;
    top: 0.5rem;
    width: 10px;
    height: 10px;
    background: var(--pscl-red);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--pscl-red);
}
.step-year {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--pscl-gold);
    margin-bottom: 0.5rem;
}
.step-content h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
}
.step-content p {
    font-size: 0.9rem;
    color: var(--pscl-muted);
}

@media (max-width: 1024px) {
    .anthology-timeline {
        flex-direction: column;
    }
    .timeline-step {
        width: 100%;
        margin-bottom: 3rem;
    }
    .timeline-step::before {
        display: none; /* Hide timeline dots on mobile to save space */
    }
}

/* VR-Lite Panning */
.vr-viewer-wrap:active { cursor: grabbing; }
.vr-panorama {
    transition: transform 0.1s linear;
}
.vr-controls {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}
.control-hint {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--pscl-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.control-hint span {
    font-size: 1.2rem;
    color: #fff;
}

/* Elite Mastery Flourish */
.anthology-section { border-bottom: 1px solid rgba(255,255,255,0.05); }
.vrlite-section { border-bottom: 1px solid rgba(255,255,255,0.05); }

/* Wealth Architect & ROI */
.roi-simulator input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: #333;
    border-radius: 2px;
}
.roi-simulator input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--pscl-red);
    border-radius: 50%;
    cursor: pointer;
}
.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--pscl-muted);
    text-transform: uppercase;
}
.catalyst-chip {
    padding: 0.8rem 1.5rem;
    border: 1px solid #333;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.catalyst-chip.active {
    background: var(--pscl-red);
    border-color: var(--pscl-red);
    color: #fff;
}
.wealth-projection-card {
    transition: box-shadow 0.4s ease;
}
.wealth-projection-card:hover {
    box-shadow: 0 30px 60px rgba(179, 142, 93, 0.15);
}

/* Community Horizon Wall */
.horizon-item {
    position: relative;
    overflow: hidden;
    height: 400px;
}
.horizon-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-editorial);
}
.horizon-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: #fff;
    text-align: left;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}
.horizon-item:hover img { transform: scale(1.1); }
.horizon-item:hover .horizon-overlay {
    transform: translateY(0);
    opacity: 1;
}
.horizon-overlay span {
    font-size: 0.7rem;
    color: var(--pscl-gold);
    text-transform: uppercase;
}
.horizon-overlay h4 { margin-top: 0.5rem; }

/* Final Handover Polish */
.anthology-step { border-left: 1px solid rgba(255,255,255,0.1); }

/* Transparency Vault */
.vault-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 3rem;
    text-decoration: none;
    color: #fff;
    transition: all 0.4s var(--ease-editorial);
}
.vault-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--pscl-gold);
    transform: translateY(-10px);
}
.vault-num { color: var(--pscl-gold); font-size: 0.8rem; display: block; margin-bottom: 1rem; }
.vault-link { 
    display: inline-block; 
    margin-top: 2rem; 
    font-size: 0.6rem; 
    letter-spacing: 0.3em; 
    color: var(--pscl-red); 
    border-bottom: 1px solid var(--pscl-red);
}

/* Ambient Control */
.ambient-control {
    position: fixed;
    bottom: 4rem;
    right: 4rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    transition: all 0.4s var(--ease-editorial);
}
.ambient-control:hover { border-color: var(--pscl-gold); }
.ambient-control .control-label {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--pscl-muted);
}

@media (max-width: 1024px) {
    .ambient-control {
        display: none !important;
    }
}
.ambient-control.active .control-label { color: var(--pscl-gold); }
.ambient-control.active .control-icon { color: var(--pscl-gold); animation: ambientPulse 2s infinite; }

@keyframes ambientPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Highlandspheric Time-Sync Overlays: Reduced intensity to prevent content distortion */
body.mode-dawn::after { 
    content: ''; position: fixed; inset: 0; 
    background: linear-gradient(135deg, rgba(255, 100, 0, 0.04) 0%, transparent 100%); 
    pointer-events: none; z-index: 9; mix-blend-mode: soft-light; transition: opacity 2s ease;
}
body.mode-sunset::after {
    content: ''; position: fixed; inset: 0; 
    background: linear-gradient(135deg, rgba(107, 13, 13, 0.05) 0%, rgba(255, 80, 0, 0.02) 100%); 
    pointer-events: none; z-index: 9; mix-blend-mode: multiply; transition: opacity 2s ease;
}
body.mode-night::after { 
    content: ''; position: fixed; inset: 0; 
    background: radial-gradient(circle at center, rgba(10, 10, 30, 0.08) 0%, rgba(0, 0, 0, 0.15) 100%); 
    pointer-events: none; z-index: 9; mix-blend-mode: multiply; transition: opacity 2s ease;
}

/* Technical Ledger Modals */
.ledger-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); backdrop-filter: blur(10px);
    z-index: 10000; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.6s var(--ease-editorial);
}
.ledger-modal.active { opacity: 1; pointer-events: all; }
.ledger-panel {
    width: 90%; max-width: 1100px; height: 80vh; height: 80dvh;
    background: var(--pscl-white); border: 1px solid var(--pscl-maroon);
    position: relative; padding: 5rem; overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.ledger-close {
    position: absolute; top: 2rem; right: 2rem; font-size: 1.5rem;
    color: var(--pscl-maroon); cursor: pointer; font-weight: 300;
}
.ledger-header { margin-bottom: 4rem; border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 2rem; }
.ledger-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.ledger-item h4 { font-size: 0.7rem; color: var(--pscl-muted); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1rem; }
.ledger-item p { font-size: 1.1rem; color: var(--pscl-dark); font-weight: 600; }

/* Township Ledger Cards */
.township-section { position: relative; }
.township-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 3rem 2rem;
    transition: all 0.5s var(--ease-editorial);
}
.township-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(107, 13, 13, 0.08); /* Subtle maroon shadow */
}
.township-card .card-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 2rem;
    filter: grayscale(1);
    transition: filter 0.4s ease;
}
.township-card:hover .card-icon { filter: grayscale(0); }
.township-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--pscl-dark);
}
.township-card p {
    font-size: 0.9rem;
    color: var(--pscl-muted);
    line-height: 1.8;
}

/* Informographic Masterwork */
.info-card {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(107, 13, 13, 0.05);
}
.info-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(107, 13, 13, 0.1);
    border-color: var(--pscl-maroon);
}
.stat-circle {
    transition: all 0.6s ease;
}
.info-card:hover .stat-circle {
    background: var(--pscl-maroon);
}
.info-card:hover .stat-circle .stat-value,
.info-card:hover .stat-circle span {
    color: white !important;
}

/* Sovereign Shimmer & Aspect Locks */
.skeleton {
    position: relative;
    overflow: hidden;
    background: var(--pscl-gray);
}

.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: var(--shimmer-gradient);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

.cluster-media, .horizon-media, .preview-card img, .ledger-media, .lifestyle-image img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    object-fit: cover;
    width: 100%;
}

.hero-bg, .panoramic-strip img {
    aspect-ratio: 21 / 9;
    object-fit: cover;
    width: 100%;
}

.anthology-visual {
    aspect-ratio: 4 / 3;
}
.stat-bubble {
    text-align: center;
    padding: 4rem 2rem;
    border: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.02);
    transition: all 0.4s var(--ease-editorial);
}
.stat-bubble:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--pscl-gold);
    transform: translateY(-5px);
}
.bubble-val {
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--pscl-gold);
    display: block;
    margin-bottom: 1rem;
}

/* Commute Matrix */
.commute-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.commute-step {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}
.commute-step:hover { padding-left: 2rem; border-color: var(--pscl-gold); }
.commute-step .time {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pscl-red);
    letter-spacing: 0.1em;
    width: 120px;
    flex-shrink: 0;
}
.commute-details h4 {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    color: #fff;
}
.commute-details p {
    font-size: 0.8rem;
    color: var(--pscl-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

@media (max-width: 1024px) {
    .commute-step {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem 0;
    }
    .commute-step .time {
        width: auto;
    }
}

/* Sovereign Qualifier Form */
.survey-step {
    display: none;
    animation: stepIn 0.8s var(--ease-editorial) forwards;
}
.survey-step.active { display: block; }

@keyframes stepIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.qualifier-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.q-opt {
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 2.5rem;
    cursor: pointer;
    transition: all 0.4s var(--ease-editorial);
}
.q-opt:hover {
    border-color: var(--pscl-gold);
    background: #111;
    transform: scale(1.02);
}
.q-opt h4 {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 0.5rem;
}
/* Stucco Card Variations */
.trust-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    transition: all 0.5s var(--ease-editorial);
}

.trust-card:hover {
    transform: translateY(-5px);
    border-color: var(--pscl-forest);
}

.growth-graph {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    height: 300px;
    justify-content: center;
}

.graph-bar {
    width: 40px;
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all 0.8s var(--ease-editorial);
}

.graph-bar small {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

/* Heritage Concierge Styles (Redesigned) */
.concierge-trigger {
    position: fixed;
    bottom: 6rem; /* Raised to avoid conflict with activity toast in right corner */
    right: 2rem;
    background: linear-gradient(135deg, var(--pscl-maroon), #8B1A1A);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    z-index: 10004;
    box-shadow: 0 10px 30px rgba(107, 13, 13, 0.4);
    transition: all 0.4s var(--ease-editorial);
    border: 1px solid rgba(255,255,255,0.1);
}
@keyframes concierge-pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(107, 13, 13, 0.4), 0 0 0 0 rgba(107, 13, 13, 0.3); }
    50% { box-shadow: 0 10px 30px rgba(107, 13, 13, 0.4), 0 0 0 8px rgba(107, 13, 13, 0); }
}
.concierge-trigger:hover { 
    transform: translateY(-5px) scale(1.05); 
    box-shadow: 0 16px 40px rgba(107, 13, 13, 0.5);
    animation: none;
}
.concierge-label {
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.concierge-icon svg {
    width: 20px;
    height: 20px;
}

/* Modal is controlled via JS: display: none/flex */
.concierge-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.concierge-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
}

.concierge-panel {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    max-width: 480px;
    height: 100%;
    background: var(--pscl-dark);
    border-left: 1px solid rgba(212,175,55,0.2);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.6s var(--ease-editorial);
    box-shadow: -20px 0 50px rgba(0,0,0,0.5);
    overflow-y: auto; /* Enable scrolling if content is too long */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}
.concierge-panel::-webkit-scrollbar { display: none; } /* Hide scrollbar for Chrome/Safari */
.concierge-modal.active { display: flex !important; }
.concierge-modal.active .concierge-panel { transform: translateX(0); }

.concierge-header h3 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 2rem; color: #fff; text-transform: uppercase; letter-spacing: 0.1em; }
.concierge-header h3 i { color: var(--pscl-gold); font-style: italic; }
.concierge-header button { background: none; border: none; color: #fff; font-size: 2.5rem; position: absolute; top: 2rem; right: 2rem; cursor: pointer; transition: color 0.3s; }
.concierge-header button:hover { color: var(--pscl-gold); }

.c-prompt {
    display: block;
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    color: var(--pscl-muted);
    padding: 1.2rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.search-proxy {
    gap: 1.5rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.search-links {
    gap: 1.5rem !important;
    color: #ffffff !important;
    font-weight: 800 !important;
}
.nav-item-new {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}
.nav-item-new:hover {
    color: var(--pscl-gold) !important;
}
.c-prompt:hover { background: var(--pscl-gray); color: var(--pscl-dark); border-color: var(--pscl-forest); }

/* Enquiry Form Refinement: High-Contrast & Focus */
#enquiry-form-modal input,
#enquiry-form-modal select,
#enquiry-form-modal textarea {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(212,175,55,0.5) !important;
    color: #fff !important;
    padding: 1.1rem 1.5rem !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    border-radius: 4px !important;
    outline: none !important;
    transition: all 0.3s var(--ease-editorial) !important;
}

#enquiry-form-modal input:focus,
#enquiry-form-modal select:focus {
    background: rgba(255,255,255,0.05) !important;
    border-color: var(--pscl-gold) !important;
    box-shadow: 0 0 15px rgba(140, 115, 47, 0.2);
}

#enquiry-form-modal input::placeholder,
#enquiry-form-modal textarea::placeholder {
    color: rgba(255,255,255,0.8) !important;
}

#enquiry-form-modal input:focus,
#enquiry-form-modal select:focus,
#enquiry-form-modal textarea:focus {
    border-color: var(--pscl-gold) !important;
    background: rgba(10,10,10,0.95) !important;
    box-shadow: 0 0 15px rgba(212,175,55,0.4) !important;
}

#concierge-input {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 1.5rem;
    color: var(--pscl-dark);
    font-family: inherit;
    margin-top: auto;
}

/* Global Currency Engine */
.curr-btn {
    background: none;
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--pscl-muted);
    font-size: 0.65rem;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.curr-btn.active { border-color: var(--pscl-red); color: var(--pscl-red); }
.curr-btn:hover { border-color: var(--pscl-dark); color: var(--pscl-dark); }

/* --- Behavioral Conversion Pill (Phase 10) --- */
.conversion-pill {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--pscl-gold);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 1000;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.conversion-pill.active {
    transform: translateX(-50%) translateY(0);
}

.pill-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pscl-dark);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.pill-btn {
    background: var(--pscl-maroon);
    color: white;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s;
}

.pill-btn:hover {
    background: #800000;
}

/* Mobile Navigation Toggle (Phase 1: Overhaul) */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

@media (max-width: 1280px) {
    .nav-main { height: 80px; }
    .mobile-toggle { display: flex; order: 2; }
    .nav-brand { flex: 0 1 auto; order: 1; }
    .nav-content { padding: 0 1.5rem; justify-content: space-between; overflow: visible; }
    .brand-main { font-size: 1.2rem; }
    .brand-sub { font-size: 0.65rem; letter-spacing: 0.3em; }
    .nav-search-box, .nav-actions { display: none !important; }
}

/* Mobile Off-Canvas Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--pscl-maroon);
    z-index: 2001;
    transition: 0.5s var(--ease-editorial);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 50px rgba(0,0,0,0.5);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

#mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    transition: 0.3s;
}

.mobile-menu-links a:hover {
    color: var(--pscl-gold);
}

.mobile-menu-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-actions .whatsapp-btn,
.mobile-menu-actions .tour-btn {
    width: 100%;
    justify-content: center;
    padding: 1.2rem;
}

/* Sovereign BavBar (Phase 59: Dynamic UI) */
.mobile-sticky-bar {
    display: none; /* Default hidden, enabled by media query */
}

@media (max-width: 1024px) {
    .mobile-sticky-bar {
        display: flex !important;
        position: fixed;
        bottom: 20px; /* Floating Pill Elevation */
        left: 5%;
        right: 5%;
        width: 90%;
        height: 60px;
        z-index: 10005;
        background: rgba(26, 26, 26, 0.85); /* Deep Void Glass */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 50px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        overflow: hidden;
        animation: bavbar-slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

@keyframes bavbar-slide-up {
    0% { transform: translateY(150%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.bav-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

/* WhatsApp Pulse */
.bav-pill-wa {
    background: linear-gradient(135deg, #25D366, #128C7E);
}
.bav-pill-wa::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.2);
    border-radius: inherit;
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Enquiry Shine */
.bav-pill-enq {
    background: linear-gradient(135deg, var(--pscl-dark), #000);
    color: var(--pscl-gold);
}
.bav-pill-enq::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(212, 175, 55, 0.4),
        transparent
    );
    animation: enq-shine 3s infinite;
}

@keyframes enq-shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Ecosystem Scan */
.bav-pill-eco {
    border-left: 1px solid rgba(255,255,255,0.1);
}
.bav-pill-eco i {
    animation: eco-scan 4s linear infinite;
}

@keyframes eco-scan {
    0% { transform: rotate(0deg); color: #fff; }
    50% { color: var(--pscl-gold); }
    100% { transform: rotate(360deg); color: #fff; }
}
@media (max-width: 1024px) {
    .mobile-sticky-actions {
        justify-content: center;
    }
    .conversion-pill.active {
        transform: translateX(-50%) translateY(0);
    }
    .pill-text {
        font-size: 0.85rem;
    }
    .pill-btn {
        width: 100%;
        margin-top: 0.5rem;
        font-size: 0.7rem;
        text-align: center;
    }
    /* Premium Forms Mobile Responsiveness */
    .concierge-panel {
        padding: 5rem 1.5rem 2rem !important; /* Extra top padding for close button */
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100vh !important; max-height: 100dvh !important;
        border-left: none !important;
        box-shadow: none !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        transform: translateX(100%);
    }
    .concierge-modal.active .concierge-panel {
        transform: translateX(0);
    }
    .form-header h3 {
        font-size: 1.8rem !important;
    }
    .concierge-trigger {
        bottom: 6rem; /* Avoid overlap with conversion pill */
        right: 1.5rem;
        padding: 0.8rem 1.2rem;
    }
    .concierge-label {
        font-size: 0.65rem;
    }
    .enquiry-input-premium {
        padding: 0.9rem 1.1rem !important;
    }
    .enquiry-submit-btn {
        padding: 1.1rem 1.5rem !important;
    }
}

/* --- Phase 11: Premium Design & Animation Enhancements --- */

/* Global Box Enhancements */
.box-maroon, .township-card, .info-card, .news-card, .proximity-item, .wiki-item, .silo-card, .comparison-card, .wealth-projection-card, .stat-bubble, .tracker-card {
    border-radius: 8px; /* Consistent rounded corners */
    transition: all 0.5s var(--ease-editorial);
    overflow: hidden;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* Glassmorphism for Light Boxes */
.box-maroon, .info-card, .trust-card, .wealth-projection-card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(107, 13, 13, 0.1) !important;
}

/* Deep Aesthetics for Dark Boxes */
.proximity-item, .news-card, .tracker-card, .wiki-item, .silo-card, .vault-item {
    background: rgba(10, 10, 10, 0.6) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Hover States: Elevation & Glow */
.box-maroon:hover, .township-card:hover, .info-card:hover, .news-card:hover, .proximity-item:hover, .wiki-item:hover, .silo-card:hover, .comparison-card:hover, .vault-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
    border-color: var(--pscl-gold) !important;
}

/* Special Shadow for Maroon Boxes */
.box-maroon:hover {
    box-shadow: 0 40px 80px rgba(107, 13, 13, 0.1);
}

/* Image Reveal Refinement */
.cluster-image, .lifestyle-image, .step-image, .news-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.cluster-image img, .lifestyle-image img, .step-image img, .news-image img {
    transition: transform 1.2s var(--ease-editorial);
}

.cluster-image:hover img, .lifestyle-image:hover img, .step-image:hover img, .news-image:hover img {
    transform: scale(1.1);
}

/* Inner Glow for Premium Cards */
.box-maroon::before, .info-card::before, .news-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.05), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* Wiki Trigger Refinement */
.wiki-trigger {
    padding: 1rem 0;
    transition: color 0.3s ease;
}

.wiki-trigger:hover {
    color: var(--pscl-red) !important;
}

/* Staggered Reveal Logic Hooks */
.reveal-up, .reveal-left, .reveal-right {
    will-change: transform, opacity;
}

/* ROI Catalyst Chips - Premium Update */
.catalyst-chip {
    border-radius: 50px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    font-weight: 600;
}

.catalyst-chip.active {
    box-shadow: 0 10px 20px rgba(179, 48, 42, 0.2);
}

/* Infographic Circle Pulse */
@keyframes circlePulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.5; }
}

.info-card:hover .stat-circle {
    box-shadow: 0 0 30px rgba(107, 13, 13, 0.3);
}

/* High-Contrast Modal Field Glow */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 4px rgba(179, 48, 42, 0.1) !important;
}

/* --- Phase 4: Loading Dynamics & Skeleton UI --- */
.skeleton {
    position: relative;
    overflow: hidden;
    background-color: #1a1a1a;
}

.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
}

/* --- Footer Encyclopedia Responsiveness --- */
@media (max-width: 1024px) {
    .footer-seo-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 1024px) {
    .footer-seo-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 3rem !important;
        text-align: center !important;
    }
    .footer-seo-grid .footer-col {
        padding-bottom: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* ======== ULTIMATE MOBILE NAVIGATION REVAMP ======== */
@media (max-width: 1024px) {
    .nav-search-box, .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85vw;
        max-width: 400px;
        height: 100vh; height: 100dvh;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 9999;
        box-shadow: -10px 0 50px rgba(0,0,0,0.5);
    }

    .nav-search-box.active-mobile-menu, .nav-links.active-mobile-menu {
        right: 0;
    }

    .search-proxy {
        background: transparent !important;
        border: none !important;
        height: auto;
    }

    .search-links {
        flex-direction: column;
        gap: 2.5rem !important;
        text-align: center;
    }

    .search-links a, .nav-item-new {
        font-size: 1.25rem !important;
        font-weight: 800;
        letter-spacing: 0.2em;
        color: #fff !important;
    }

    /* Hamburger Toggle Styling */
    .mobile-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 10000;
        margin-left: auto;
    }
    
    .mobile-toggle span {
        width: 100%;
        height: 2px;
        background: #fff;
        transition: all 0.3s ease;
        transform-origin: left center;
        display: block;
    }

    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg); width: 32px; }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg); width: 32px; }

    /* Hide heavy desktop elements on mobile */
    .nav-actions { margin-left: 1.5rem; display: none !important; }
}

/* --- Phase 11 & 12: Interactive Master Plan & Performance --- */

.master-plan-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 753 / 1024;
    background: #f5f5f0;
}

.master-plan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.plan-path {
    fill: var(--pscl-maroon);
    fill-opacity: 0.15;
    stroke: var(--pscl-maroon);
    stroke-width: 1.5;
    stroke-dasharray: 4,4;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.4s var(--ease-editorial);
}

.plan-path:hover, .plan-path.active-pulse {
    fill-opacity: 0.5;
    stroke-dasharray: 0;
    stroke-width: 3;
    filter: drop-shadow(0 0 15px rgba(107, 13, 13, 0.4));
}

.plan-hotspot.active-pulse {
    transform: scale(1.5);
    background: var(--pscl-gold) !important;
    box-shadow: 0 0 25px var(--pscl-gold), 0 0 50px rgba(212,175,55,0.4);
    z-index: 100;
}

/* Sovereign Trust & Legacy Slider (Phase 14.1) */
.sovereign-trust-section {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.trust-scroller-wrap {
    margin-top: 50px;
    display: flex;
    overflow: hidden;
    user-select: none;
}

.trust-card {
    flex: 0 0 400px;
    margin: 0 20px;
    padding: 40px;
    background: #fcfcf9;
    border: 1px solid rgba(140,115,47,0.1);
    border-radius: 20px;
    transition: transform 0.4s var(--ease-editorial);
}

.trust-card:hover { transform: translateY(-10px); }

.trust-card .quote {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--pscl-maroon);
    margin-bottom: 30px;
    font-style: italic;
}

.trust-card .author {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    color: var(--pscl-gold);
}

/* Growth Timeline (Phase 14.4) */
.growth-timeline {
    position: relative;
    padding: 60px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
}

.timeline-year {
    flex: 0 0 100px;
    font-weight: 900;
    font-size: 2rem;
    color: var(--pscl-gold);
    line-height: 1;
}

.timeline-content {
    flex: 1;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(107,13,13,0.1);
}

.timeline-content h4 {
    margin-bottom: 10px;
    color: var(--pscl-maroon);
}

/* Social Proof Notifications (Phase 14.2) */
#sovereign-activity-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem; /* Relocated to avoid left-side Advisor Bubble overlap */
    background: rgba(107, 13, 13, 0.95);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10005; /* Elevated above other interactive elements */
    box-shadow: 0 10px 30px rgba(107, 13, 13, 0.3);
    transform: translateY(150%);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

#sovereign-activity-toast.active {
    transform: translateY(0);
}

#sovereign-advisor-bubble {
    position: fixed;
    bottom: 3rem;
    left: 3rem;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 2rem 1rem 1rem;
    border-radius: 100px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 1px solid rgba(140,115,47,0.3);
    transform: translateY(150%) scale(0.9);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 420px;
    pointer-events: none;
    opacity: 0;
}

#sovereign-advisor-bubble.active {
    transform: translateY(0) scale(1);
    pointer-events: all;
    opacity: 1;
}

/* Premium Attention Pulse */
.advisor-pulse-ring {
    position: absolute;
    inset: -5px;
    border: 2px solid var(--pscl-gold);
    border-radius: 100px;
    opacity: 0;
    animation: advisor-pulse 3s infinite;
}

@keyframes advisor-pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0.1; }
}

.concierge-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.concierge-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--pscl-gold);
    background: var(--pscl-dark);
    object-fit: contain;
    animation: avatar-float 3s ease-in-out infinite;
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #25D366;
    border: 2px solid #fff;
    border-radius: 50%;
}

.concierge-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.concierge-msg {
    font-size: 0.85rem;
    color: var(--pscl-dark);
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.concierge-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--pscl-maroon);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s;
}

.concierge-btn:hover {
    color: var(--pscl-gold);
}

@keyframes avatar-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@media (max-width: 1024px) {
    #sovereign-advisor-bubble {
        bottom: 6rem;
        left: 1rem;
        right: 1rem;
        max-width: none;
        padding: 0.8rem 1.5rem 0.8rem 0.8rem;
    }
}

/* Exit Intent 2.0: Value-Driven Retention */
.exit-intent-2-modal {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(30px);
    border-radius: 30px;
    border: 1px solid rgba(107, 13, 13, 0.2);
    overflow: hidden;
    position: relative;
}

.growth-badge {
    background: var(--pscl-maroon);
    color: var(--pscl-gold);
    padding: 0.5rem 1.5rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 2rem;
}

/* Global Responsive Restoration (Phase 40) */
@media (max-width: 1024px) {
    :root { --header-height: 80px; }
    .nav-main { height: var(--header-height); }
    .nav-search-box, .nav-actions { display: none !important; }
    .mobile-toggle { 
        display: flex !important; 
        position: absolute; 
        right: 1.5rem; 
        top: 50%; 
        transform: translateY(-50%); 
        z-index: 1001; 
    }
}

/* Modal Restoration Strategy */
.concierge-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.concierge-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(15px);
}

.concierge-panel {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 520px !important;
    max-height: 90vh; max-height: 90dvh;
    border-radius: 20px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
    animation: modal-entry 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 1024px) {
    .concierge-modal { padding: 0.5rem; }
    .concierge-panel {
        max-width: 95% !important;
        max-height: 95vh; max-height: 95dvh;
        border-radius: 12px !important;
    }
    .concierge-panel > div { padding: 2.5rem 1.5rem !important; }
}

@keyframes modal-entry {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Off-Canvas Mobile Menu */
#mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--pscl-maroon);
    z-index: 2001;
    transition: right 0.5s var(--ease-editorial);
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#mobile-menu.active {
    right: 0;
}

#mobile-menu .nav-item-new {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: block;
    text-decoration: none;
}

/* Phase 78: Definitive Branding Preservation (Zero Boxing) */
.nav-brand,.nav-brand img,.header-logo,.footer-logo,.opening-modal-logo,.brand-container,.brand-logo-text{background:transparent !important;background-color:transparent !important;border:none !important;box-shadow:none !important;}
