        /* --- CORE STYLES & VARIABLES --- */
        :root {
            /* City of New Orleans Seal Dark Theme */
            --bg-primary: #0F1626; /* Dark Blue */
            --bg-secondary: #182238; /* Lighter Dark Blue */
            --text-primary: #CBA052; /* Gold */
            --text-secondary: #DEBA84; /* Tan */
            --gold-muted: #B89962; /* Muted gold — brand button hover text */
            --gold-muted-faint: #8A7348; /* Very muted gold — footer link hover */
            
            /* Accent + brand color */
            --accent: #8A2F25; /* Red */
            --accent-dark: #6A241C; /* Dark Red */
            --brand-red: #4C835C; /* Olive Green */

            /* Fixed menu button clearance (top + size + gap) */
            --menu-top: 30px;
            --menu-size: 72px;
            --menu-clearance: calc(var(--menu-top) + var(--menu-size) + 2rem);
            
            --font-hero: 'Oswald', sans-serif;
            --font-main: 'EB Garamond', Georgia, serif;
            --font-header: 'EB Garamond', Georgia, serif;
            --font-subhead: 'EB Garamond', Georgia, serif;
            --body-text-size: 1.375rem; /* 22px */
            --body-line-height: 32px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            background-color: var(--bg-primary);
            color: var(--text-primary);
            font-family: var(--font-main);
            font-size: var(--body-text-size);
            line-height: var(--body-line-height);
            overflow-x: hidden;
            text-align: left;
        }

        p {
            font-size: var(--body-text-size);
            line-height: var(--body-line-height);
        }

        /* --- FLOATING MENU --- */
        .menu-toggle {
            position: fixed;
            top: 30px;
            left: 40px;
            width: 72px;
            height: 72px;
            border-radius: 50%;
            background: transparent;
            color: transparent;
            border: none;
            font-family: var(--font-header);
            font-weight: 900;
            font-size: 1rem;
            cursor: pointer;
            z-index: 1000;
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;
            box-shadow: none;
            display: flex;
            align-items: center;
            justify-content: center;
            text-transform: uppercase;
            perspective: 1000px;
        }

        .menu-close {
            position: fixed;
            z-index: 1001;
            border: none;
            font-family: var(--font-header);
            font-weight: 700;
            cursor: pointer;
            text-transform: uppercase;
            transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        }

        .menu-toggle::before, .menu-toggle::after {
            content: "";
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            border-radius: 50%;
            backface-visibility: hidden;
            transition: all 0.3s;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            animation: menuFlip 10s infinite cubic-bezier(0.455, 0.03, 0.515, 0.955);
        }

        .menu-toggle::before {
            content: "MENU";
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--text-primary);
            color: var(--bg-primary);
            font-family: var(--font-header);
            font-weight: 900;
            font-size: 1rem;
            transform: rotateY(180deg);
            animation-name: menuFlipBack;
        }

        .menu-toggle::after {
            background: url('../assets/NOLA_CitySeal_Brown.png') center/100% no-repeat;
            background-color: var(--bg-primary);
            transform: rotateY(0deg);
            animation-name: menuFlip;
        }

        @keyframes menuFlip {
            0%, 45% { transform: rotateY(0deg); }
            50%, 95% { transform: rotateY(180deg); }
            100% { transform: rotateY(360deg); }
        }

        @keyframes menuFlipBack {
            0%, 45% { transform: rotateY(180deg); }
            50%, 95% { transform: rotateY(360deg); }
            100% { transform: rotateY(540deg); }
        }

        .menu-toggle:hover {
            transform: scale(1.1) rotate(5deg);
            background: transparent;
            color: transparent;
        }

        .menu-toggle:hover::before {
            background: linear-gradient(145deg, var(--brand-red), var(--accent));
            color: var(--bg-primary);
        }
        
        .menu-toggle:active,
        .menu-close:active {
            transform: scale(0.95);
        }

        .menu-overlay {
            position: fixed;
            inset: 0;
            width: 100%;
            height: 100vh;
            height: 100dvh;
            background: linear-gradient(160deg, var(--brand-red) 0%, var(--accent) 55%, #0F1626 100%);
            z-index: 999;
            clip-path: circle(0px at 76px 66px);
            transition: clip-path 0.7s cubic-bezier(0.77, 0, 0.175, 1);
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-end;
            padding: calc(30px + 72px + 100px) clamp(24px, 8vw, 120px) 48px;
            overflow: hidden;
        }

        .menu-overlay.active {
            clip-path: circle(150vw at 76px 66px);
        }

        .menu-close {
            top: 30px;
            right: 40px;
            left: auto;
            width: 72px;
            height: 72px;
            border-radius: 50%;
            background: rgba(15, 22, 38, 0.38);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            color: rgba(203, 160, 82, 0.78);
            border: 1px solid rgba(203, 160, 82, 0.22);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        .menu-close-icon {
            width: 26px;
            height: 26px;
            display: block;
            flex-shrink: 0;
        }

        .menu-overlay.active .menu-close {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        .menu-close:hover {
            background: rgba(15, 22, 38, 0.52);
            color: rgba(203, 160, 82, 0.95);
            border-color: rgba(203, 160, 82, 0.38);
            transform: scale(1.04);
        }

        .menu-overlay nav.menu-links,
        .menu-links {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 2px;
            width: min(100%, 360px);
            margin: 0;
            padding: 0;
        }

        .menu-links a {
            display: block;
            width: 100%;
            font-family: var(--font-header);
            font-size: clamp(1.15rem, 2.2vw, 1.55rem);
            color: var(--bg-primary);
            text-decoration: none;
            text-transform: uppercase;
            font-weight: 900;
            letter-spacing: 0.1em;
            line-height: 1.35;
            padding: 12px 0;
            transition: color 0.2s ease, transform 0.2s ease;
            text-align: right;
            text-shadow: none;
            border-bottom: 1px solid rgba(15, 22, 38, 0.18);
        }

        .menu-links a:last-child {
            border-bottom: none;
        }

        .menu-links a:hover {
            color: var(--text-primary);
            transform: translateX(-6px);
        }

        body.menu-open {
            overflow: hidden;
        }

        /* --- BRAND BUTTON --- */
        .brand-btn {
            padding: 14px 35px;
            background: linear-gradient(180deg, var(--accent) 0%, var(--brand-red) 100%);
            color: var(--bg-primary);
            border: none;
            border-radius: 8px;
            font-family: var(--font-hero);
            font-size: 18px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(138, 47, 37, 0.4);
            text-decoration: none;
            display: inline-block;
        }

        .brand-btn:hover {
            background: linear-gradient(180deg, var(--accent-dark) 0%, #0F1626 100%);
            color: var(--gold-muted);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(121, 138, 83, 0.45);
        }

        /* --- HERO SECTION --- */
        .hero {
            min-height: 80vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: left;
            padding: 120px clamp(24px, 5vw, 60px) 48px;
            /* Lightened overlay for inverted theme */
            background: linear-gradient(rgba(15, 22, 38, 0.85), rgba(15, 22, 38, 0.95)), url('https://images.unsplash.com/photo-1514362545857-3bc16c4c7d1b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
            background-attachment: fixed;
        }

        .hero-inner {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 40px;
        }

        .hero-content {
            max-width: 640px;
            position: relative;
            width: 100%;
        }

        .hero-map {
            width: 100%;
            max-width: 640px;
        }

        @media (min-width: 992px) {
            .hero-inner {
                flex-direction: row;
                align-items: stretch;
                justify-content: space-between;
                gap: 40px;
                text-align: left;
            }
            .hero-content {
                flex: 1;
                max-width: none;
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                align-items: flex-start;
                text-align: left;
            }
            .hero-map {
                flex: 1;
                max-width: 52%;
                min-width: 0;
                display: flex;
                flex-direction: column;
                align-self: flex-start;
                min-height: 0;
            }
            .hero-map .map-wrapper {
                width: 100%;
                flex: 1;
                display: flex;
                flex-direction: column;
                min-height: 0;
            }
            .hero-map #districts-map {
                flex: 1;
                min-height: 0;
            }
        }

        /* 3D Stylized Hero Title — face uses brand red */
        .title-3d {
            display: inline-block;
            font-family: var(--font-hero);
            font-size: 86px;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--text-primary);
            /* Angle and Skew */
            transform: rotate(-5deg) skewX(-5deg);
            /* 3D stack: gold -> red -> green → depth */
            text-shadow: 
                1px 1px 0px #0F1626,
                2px 2px 0px var(--accent),
                4px 4px 0px var(--accent),
                6px 6px 0px var(--accent),
                8px 8px 0px var(--accent),
                10px 10px 0px var(--brand-red),
                12px 12px 0px var(--brand-red),
                14px 14px 0px var(--brand-red),
                20px 22px 24px rgba(0,0,0,0.45);
            margin-bottom: 20px;
            line-height: 1.1;
            letter-spacing: 2px;
        }

        @media (max-width: 991px) {
            .hero {
                justify-content: flex-start;
                padding-top: 0;
                padding-bottom: 48px;
                padding-left: 7.5vw;
                padding-right: 7.5vw;
            }

            .hero::before {
                content: "";
                display: block;
                width: 100%;
                height: var(--menu-clearance);
                flex-shrink: 0;
            }

            .hero-content {
                max-width: none;
                width: 100%;
                padding-left: 0;
                padding-right: 0;
                overflow: visible;
            }

            .hero-content .subtitle,
            .hero-content .brand-btn {
                margin-left: 0;
            }

            .hero-content > .title-3d {
                width: 100%;
                max-width: none;
                display: block;
                overflow: visible;
                transform-origin: left bottom;
                font-size: clamp(2.75rem, calc(85vw / 5.5), 6.5rem);
                letter-spacing: 0.04em;
                line-height: 1.05;
                margin-bottom: 36px;
                text-shadow:
                    1px 1px 0px #0F1626,
                    2px 2px 0px var(--accent),
                    3px 3px 0px var(--accent),
                    5px 5px 0px var(--accent),
                    7px 7px 0px var(--brand-red),
                    9px 9px 0px var(--brand-red),
                    12px 14px 16px rgba(0,0,0,0.45);
            }

            .hero-content > .title-3d .title-3d-line {
                display: block;
                white-space: nowrap;
            }

            .hero-map {
                width: 100vw;
                max-width: 100vw;
                margin-left: calc(50% - 50vw);
                margin-right: calc(50% - 50vw);
            }

            .hero-map .map-wrapper {
                border-radius: 0;
                border-left: none;
                border-right: none;
                border-top: 3px solid var(--text-primary);
                border-bottom: 3px solid var(--text-primary);
                padding: 0;
                box-shadow: none;
            }

            .hero-map #districts-map {
                border-radius: 0;
                height: min(58vh, 520px);
            }
        }

        .title-3d-line {
            display: block;
            margin-left: 0;
        }

        .title-3d-line + .title-3d-line {
            margin-top: 5px;
        }

        /* Complementary Subtitle */
        .subtitle {
            font-family: var(--font-subhead);
            font-style: normal;
            font-size: 22px;
            font-weight: 500;
            line-height: 30px;
            color: var(--text-primary);
            margin-top: 20px;
            margin-bottom: 25px;
            display: block;
            text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.8);
        }

        .subtitle strong {
            font-weight: 700;
            font-style: italic;
        }

        .subtitle-follow {
            display: block;
            margin-top: 1.25em;
        }

        /* --- MARQUEE (thin ribbons) --- */
        .marquee-container {
            width: 100%;
            overflow: hidden;
            background: linear-gradient(90deg, var(--brand-red) 0%, var(--accent) 50%, var(--brand-red) 100%);
            color: var(--bg-primary);
            padding: 6px 0;
            font-family: var(--font-header);
            font-weight: 700;
            font-size: 0.7rem;
            white-space: nowrap;
            position: relative;
            z-index: 10;
            box-shadow: 0 4px 12px rgba(0,0,0,0.12);
            margin-top: -16px;
            margin-bottom: 0;
            transform: rotate(-1deg) scale(1.02);
        }

        .marquee-container.reverse {
            transform: rotate(1deg) scale(1.02);
            background: linear-gradient(90deg, var(--text-primary) 0%, #0F1626 50%, var(--brand-red) 100%);
            color: var(--bg-primary);
            margin-top: 0;
            margin-bottom: 0;
        }

        .marquee-content {
            display: inline-block;
            animation: marquee 35s linear infinite;
        }

        .marquee-content.reverse-anim {
            animation: marquee-reverse 35s linear infinite;
        }

        .marquee-content span {
            padding: 0 16px;
            text-transform: uppercase;
            letter-spacing: 0.12em;
        }

        @keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        @keyframes marquee-reverse {
            0% { transform: translateX(-50%); }
            100% { transform: translateX(0); }
        }

        /* --- MAP (hero + shared) --- */
        .map-wrapper {
            background: var(--bg-primary);
            border: 3px solid var(--text-primary);
            border-radius: 10px;
            padding: 10px;
            box-shadow: 0 16px 32px rgba(0,0,0,0.2);
            width: 100%;
        }

        #districts-map {
            width: 100%;
            height: min(52vh, 420px);
            background: #e5e5e5;
            border-radius: 5px;
            z-index: 1;
        }

        @media (min-width: 992px) {
            .hero-inner .hero-map #districts-map {
                height: 100%;
                min-height: 260px;
            }
        }

        .leaflet-tile-pane {
            /* Convert grayscale tiles to a deep blue matching the app theme */
            filter: sepia(80%) hue-rotate(190deg) saturate(300%) brightness(0.65) contrast(1.2);
        }

        /* --- INTERSECTING HORIZONTAL CARD FLOWS --- */
        .flow-section {
            padding: 48px 0;
            background: var(--bg-secondary);
            overflow: hidden;
            position: relative;
            display: flex;
            flex-direction: column;
            row-gap: 25px;
        }

        .flow-row {
            overflow: hidden;
            width: 100%;
            padding: 0 0 10px;
        }

        .flow-row--people {
            z-index: 2;
            margin-bottom: 20px;
            padding-top: 25px;
            padding-bottom: 40px;
            cursor: grab;
            touch-action: pan-y;
            user-select: none;
        }

        .flow-row--people.is-dragging {
            cursor: grabbing;
        }

        .flow-row--people .flow-couple {
            transform: rotate(-1.2deg) scale(1.03);
        }

        .flow-track {
            display: flex;
            gap: 44px;
            width: max-content;
            will-change: transform;
        }

        .flow-card {
            width: 194px;
            height: 252px;
            border-radius: 13px;
            overflow: hidden;
            flex-shrink: 0;
            border: 2px solid var(--text-primary);
            box-shadow: 
                inset 1px 1px 0 rgba(255,255,255,0.4),
                0 0 0 2px var(--brand-red),
                0 0 0 4px var(--accent),
                4px 6px 0 rgba(138, 47, 37, 0.45),
                6px 8px 0 rgba(203, 160, 82, 0.3),
                10px 12px 20px rgba(0,0,0,0.35);
            background: var(--bg-primary);
            position: relative;
        }

        .flow-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
        }

        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        .flow-card img[data-loading="true"] {
            background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-primary) 50%, var(--bg-secondary) 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
        }

        .skeleton-couple .flow-card {
            background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-primary) 50%, var(--bg-secondary) 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
        }

        .flow-couple {
            display: flex;
            gap: 10px;
            padding: 0 50px;
            align-items: flex-start;
        }

        .flow-couple .flow-card:nth-child(3) {
            margin-top: 35px;
        }

        .couple-ampersand {
            font-family: var(--font-header);
            font-size: 2rem;
            font-weight: 900;
            color: var(--brand-red);
            align-self: center;
            margin: 0 2px;
            transform: rotate(-5deg) skewX(-5deg);
            text-shadow: 
                1px 1px 0px #0F1626,
                2px 2px 0px var(--text-primary),
                3px 3px 0px var(--text-primary),
                4px 4px 0px var(--accent),
                5px 5px 0px var(--accent),
                6px 6px 0px #4C835C,
                7px 7px 0px var(--brand-red),
                10px 10px 14px rgba(0,0,0,0.45);
            z-index: 3;
            line-height: 1;
        }

        .flow-label {
            text-align: center;
            font-family: var(--font-header);
            font-size: 0.7rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: var(--text-secondary);
            margin: 0;
            padding: 0 16px;
        }

        @media (prefers-reduced-motion: reduce) {
            .flow-track {
                justify-content: center;
                flex-wrap: wrap;
                max-width: 100%;
                margin: 0 auto;
            }
        }

        /* --- PURPOSE MODULE (3D trim) --- */
        .purpose-section {
            padding: 60px 0 20px;
            background: var(--bg-primary);
        }

        .purpose-module {
            width: 80%;
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            perspective: 900px;
            padding: 0 20px 36px;
        }

        .purpose-frame {
            --purpose-copy-max: 750px;
            max-width: calc(var(--purpose-copy-max) + 2 * clamp(1.2rem, 3vw, 1.5rem));
            margin-inline: auto;
            position: relative;
            padding: clamp(1.5rem, 4vw, 2rem) clamp(1.2rem, 3vw, 1.5rem);
            background: linear-gradient(168deg, #1A243D 0%, var(--bg-secondary) 42%, #0A0F1A 100%);
            border-radius: 8px;
            border: 2px solid var(--text-primary);
            /* Exaggerated 3D trim: inset bevel + stacked “frames” + cast shadow */
            box-shadow:
                inset 2px 2px 0 rgba(255,255,255,0.55),
                inset -2px -2px 0 rgba(15, 22, 38, 0.2),
                inset 0 -2px 6px rgba(138, 47, 37, 0.12),
                0 0 0 2px var(--brand-red),
                0 0 0 5px var(--accent),
                0 0 0 8px var(--text-primary),
                0 0 0 11px rgba(138, 47, 37, 0.35),
                8px 10px 0 rgba(138, 47, 37, 0.45),
                12px 14px 0 rgba(203, 160, 82, 0.3),
                16px 18px 24px rgba(0,0,0,0.35);
            transform: rotateX(5deg) translateZ(6px) scale(0.99);
            transform-style: preserve-3d;
            transform-origin: center center;
        }

        .purpose-frame::before {
            content: "";
            position: absolute;
            inset: -14px;
            border-radius: 14px;
            background: radial-gradient(ellipse 80% 60% at 30% 20%, rgba(203, 160, 82, 0.45), transparent 55%),
                radial-gradient(ellipse 70% 50% at 80% 90%, rgba(138, 47, 37, 0.35), transparent 50%),
                linear-gradient(135deg, rgba(15, 22, 38, 0.15), transparent 50%);
            z-index: -2;
            pointer-events: none;
            filter: blur(2px);
        }

        .purpose-frame::after {
            content: "";
            position: absolute;
            left: 8%;
            right: 8%;
            bottom: -18px;
            height: 24px;
            background: linear-gradient(180deg, rgba(15, 22, 38, 0.35), transparent);
            border-radius: 40%;
            filter: blur(8px);
            transform: rotateX(75deg);
            z-index: -1;
            pointer-events: none;
        }

        @media (max-width: 900px) {
            .purpose-module {
                width: 92%;
                padding: 0 10px 24px;
            }
        }

        .purpose-frame h2 {
            font-family: var(--font-header);
            font-size: clamp(1.75rem, 4vw, 2.75rem);
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: var(--text-primary);
            margin-bottom: 1.25rem;
            line-height: 1.15;
        }

        .purpose-frame .purpose-lead {
            font-family: var(--font-subhead);
            font-style: italic;
            font-size: 19px;
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
        }

        .purpose-frame p {
            font-size: clamp(var(--body-text-size), 2vw, 1.35rem);
            color: var(--text-primary);
            line-height: var(--body-line-height);
            font-weight: 500;
        }

        .purpose-frame p + p {
            margin-top: 1rem;
        }

        .purpose-copy {
            max-width: var(--purpose-copy-max, 750px);
            margin: 0 auto;
        }

        @media (max-width: 900px) {
            .purpose-frame .purpose-lead {
                font-size: 21px;
            }

            .purpose-frame p {
                font-size: var(--body-text-size);
            }
        }

        /* Custom Leaflet popup styling for inverted theme */
        .leaflet-popup-content-wrapper {
            background: var(--bg-primary);
            color: var(--text-primary);
            border: 2px solid var(--text-primary);
            border-radius: 5px;
        }
        .leaflet-popup-tip {
            background: var(--bg-primary);
            border: 2px solid var(--text-primary);
        }
        .leaflet-popup-close-button {
            color: var(--text-primary) !important;
        }
        .district-label {
            color: var(--bg-primary);
            font-weight: 900;
            font-family: var(--font-header);
            font-size: 1.2rem;
            text-align: center;
            line-height: 30px;
            text-shadow: 0 1px 3px rgba(0,0,0,0.4);
        }
        .custom-tooltip {
            background: var(--bg-primary);
            color: var(--text-primary);
            border: 2px solid var(--brand-red);
            border-radius: 5px;
            font-family: var(--font-main);
            text-align: center;
            font-weight: bold;
        }
        .leaflet-tooltip.custom-tooltip::before {
            border-top-color: var(--brand-red);
        }

        /* --- ABOUT / WAYS TO PARTICIPATE (full section) --- */
        .about-section {
            padding: 100px clamp(24px, 5vw, 60px) 120px;
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            overflow: hidden;
        }

        .section-title {
            text-align: left;
            font-family: var(--font-header);
            font-size: clamp(2.5rem, 5vw, 4rem);
            line-height: 1.15;
            margin-bottom: 3rem;
            text-transform: uppercase;
            color: var(--text-primary);
        }

        .section-title span {
            color: var(--brand-red);
        }

        .participate-block {
            width: 100%;
        }

        .participate-heading {
            font-family: var(--font-header);
            font-size: clamp(1.35rem, 3vw, 1.85rem);
            margin-bottom: 1.75rem;
            color: var(--text-primary);
            text-transform: uppercase;
            letter-spacing: 0.06em;
            text-align: left;
            line-height: 1.2;
        }

        /* Participate toggle (residents / venues) */
        .participate-toggle {
            display: flex;
            gap: 0;
            max-width: 520px;
            margin: 0 0 1rem;
            border-radius: 10px;
            overflow: hidden;
            border: 2px solid var(--text-primary);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
        }

        .participate-toggle [role="tab"] {
            flex: 1;
            padding: 14px 14px;
            font-family: var(--font-header);
            font-weight: 800;
            text-transform: uppercase;
            font-size: clamp(0.875rem, 3.5vw, 1.1rem);
            letter-spacing: 0.05em;
            border: none;
            background: var(--bg-primary);
            color: var(--text-secondary);
            cursor: pointer;
            transition: background 0.2s ease, color 0.2s ease;
        }

        .participate-toggle [role="tab"][aria-selected="true"] {
            background: var(--brand-red);
            color: var(--bg-primary);
        }

        .participate-toggle [role="tab"]:not([aria-selected="true"]):hover {
            background: rgba(43, 53, 97, 0.12);
            color: var(--text-primary);
        }

        .participate-toggle [role="tab"]:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
            z-index: 1;
        }

        .participate-panel[hidden] {
            display: none;
        }

        /* Redesigned participate views (residents / businesses):
           a copy column with icon feature cards + a visual preview column
           that reuses real product assets (share graphic, flyer, map popup). */
        .pv-panel {
            animation: pvFade 0.35s ease;
        }

        @keyframes pvFade {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: none; }
        }

        .pv-split {
            display: flex;
            gap: 100px;
            align-items: flex-start;
            padding-top: 20px;
            padding-bottom: 20px;
        }

        .pv-copy {
            flex: 1 1 55%;
            min-width: 0;
            text-align: left;
            padding-top: 20px;
        }

        .pv-features {
            list-style: none;
            margin: 0 0 2rem;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 30px;
            max-width: 50vw;
        }

        .pv-feature {
            display: flex;
            gap: 16px;
            align-items: flex-start;
        }

        .pv-icon {
            flex-shrink: 0;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.45rem;
            box-sizing: border-box;
            border: 3px solid transparent;
            background:
                linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
                conic-gradient(from -45deg, var(--text-primary), var(--accent), var(--brand-red), var(--text-primary)) border-box;
            filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.4));
        }

        .pv-feature h5 {
            margin: 2px 0 5px;
            font-family: var(--font-header);
            text-transform: uppercase;
            font-size: 1.12rem;
            letter-spacing: 0.03em;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .pv-feature p {
            margin: 0;
            font-size: var(--body-text-size);
            line-height: var(--body-line-height);
            font-weight: 500;
            color: var(--text-secondary);
        }

        .pv-chip {
            font-family: var(--font-hero);
            font-size: 0.62rem;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            color: var(--bg-primary);
            background: var(--text-primary);
            padding: 3px 9px;
            border-radius: 20px;
            white-space: nowrap;
        }

        .pv-media {
            flex: 0 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 14px;
            padding: 0 16px;
            box-sizing: border-box;
            width: 100%;
        }

        .pv-media-caption {
            font-family: var(--font-hero);
            text-transform: uppercase;
            font-size: 0.72rem;
            letter-spacing: 0.12em;
            color: var(--text-secondary);
            text-align: center;
        }

        /* Shareable graphics in a phone frame (used inside both stack cards below) */
        .pv-phone {
            width: 100%;
            border-radius: 30px;
            padding: 10px;
            background: linear-gradient(160deg, #2a3350, #0b1120);
            border: 1px solid rgba(255, 255, 255, 0.12);
            box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55);
        }

        .pv-phone img {
            display: block;
            width: 100%;
            border-radius: 20px;
        }

        /* Shared overlapping-card "stack" pattern: two staggered, rotated previews
           that swap to the front on hover/tap. Used for both the resident
           (vote graphic / text message) and business (flyer / map popup) previews. */
        .pv-stack {
            position: relative;
            width: 352px;
            height: 418px;
            max-width: 100%;
        }

        .pv-stack-card {
            position: absolute;
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), z-index 0.4s, box-shadow 0.4s ease;
            outline: none;
        }

        .pv-stack-card:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 4px;
            border-radius: 14px;
        }

        .pv-stack-card--flyer {
            top: 10px;
            left: 0;
            width: 74%;
            --pv-rot: -8deg;
            transform: rotate(-8deg);
            z-index: 2;
        }

        .pv-stack-card--popup {
            top: 48px;
            left: 46px;
            width: 62%;
            --pv-rot: 5deg;
            transform: rotate(5deg);
            z-index: 1;
        }

        .pv-stack-card--vote-graphic {
            top: 6px;
            left: 4%;
            width: 60%;
            --pv-rot: -7deg;
            transform: rotate(-7deg);
            z-index: 2;
        }

        .pv-stack-card--imessage {
            top: 60px;
            left: 42%;
            width: 60%;
            --pv-rot: 6deg;
            transform: rotate(6deg);
            z-index: 1;
        }

        .pv-stack:not(.is-active) .pv-stack-card {
            opacity: 0;
            pointer-events: none;
        }

        .pv-stack.is-active .pv-stack-card--flyer,
        .pv-stack.is-active .pv-stack-card--vote-graphic {
            animation: pvCardEnter 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.05s both;
            pointer-events: auto;
        }

        .pv-stack.is-active .pv-stack-card--popup,
        .pv-stack.is-active .pv-stack-card--imessage {
            animation: pvCardEnter 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.22s both;
            pointer-events: auto;
        }

        @keyframes pvCardEnter {
            from {
                opacity: 0;
                transform: translateY(28px) scale(0.88) rotate(calc(var(--pv-rot) - 6deg));
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1) rotate(var(--pv-rot));
            }
        }

        .pv-stack-card--flyer:hover,
        .pv-stack-card--flyer.is-front {
            transform: rotate(-12deg) translateY(-20px) scale(1.05);
            z-index: 3;
        }

        .pv-stack-card--popup:hover,
        .pv-stack-card--popup.is-front {
            transform: rotate(8deg) translateY(-20px) scale(1.05);
            z-index: 3;
        }

        .pv-stack-card--vote-graphic:hover,
        .pv-stack-card--vote-graphic.is-front {
            transform: rotate(-11deg) translateY(-20px) scale(1.05);
            z-index: 3;
        }

        .pv-stack-card--imessage:hover,
        .pv-stack-card--imessage.is-front {
            transform: rotate(9deg) translateY(-20px) scale(1.05);
            z-index: 3;
        }

        .pv-flyer {
            display: block;
            width: 100%;
            border-radius: 12px;
            border: 3px solid var(--text-primary);
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
            transition: box-shadow 0.4s ease;
        }

        .pv-stack-card:hover .pv-flyer,
        .pv-stack-card.is-front .pv-flyer {
            box-shadow: 0 26px 52px rgba(0, 0, 0, 0.65);
        }

        .pv-card-caption {
            font-family: var(--font-header);
            color: var(--brand-red);
            font-size: 0.82rem;
            text-transform: uppercase;
            text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8);
            text-align: center;
            margin-top: 10px;
            background: rgba(15, 22, 38, 0.85);
            padding: 4px 12px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            white-space: nowrap;
            opacity: 0;
            transform: translateY(6px);
            transition: opacity 0.25s ease, transform 0.25s ease;
        }

        .pv-stack-card:hover .pv-card-caption,
        .pv-stack-card.is-front .pv-card-caption {
            opacity: 1;
            transform: none;
        }

        .pv-popup {
            width: 100%;
            background: var(--bg-secondary);
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 12px;
            padding: 14px 14px 16px;
            box-shadow: 0 16px 34px rgba(0, 0, 0, 0.6);
            text-align: left;
            transition: box-shadow 0.4s ease;
        }

        .pv-stack-card:hover .pv-popup,
        .pv-stack-card.is-front .pv-popup {
            box-shadow: 0 24px 44px rgba(0, 0, 0, 0.7);
        }

        .pv-popup-head {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 8px;
            position: relative;
        }

        .pv-popup-link-wrap {
            position: relative;
            flex-shrink: 0;
        }

        .pv-popup h4 {
            margin: 0;
            font-family: var(--font-header);
            text-transform: uppercase;
            font-size: 1.1rem;
            line-height: 1.1;
            color: var(--text-primary);
        }

        .pv-popup-link {
            flex-shrink: 0;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            padding: 0;
            transition: background 0.2s ease, border-color 0.2s ease;
        }

        .pv-popup-link.is-copied {
            background: #618A62;
            border-color: #618A62;
        }

        .pv-popup-link.is-copied img {
            filter: brightness(0) saturate(100%) invert(100%);
            opacity: 1;
        }

        .pv-popup-copied {
            display: none;
            position: absolute;
            top: -32px;
            right: 0;
            background: #618A62;
            color: white;
            font-family: var(--font-main);
            font-size: 0.72rem;
            padding: 4px 8px;
            border-radius: 4px;
            font-weight: bold;
            white-space: nowrap;
        }

        .pv-popup-copied.is-visible {
            display: block;
        }

        .pv-popup-link img {
            width: 11px;
            height: 11px;
            opacity: 0.8;
            filter: brightness(0) saturate(100%) invert(72%) sepia(21%) saturate(942%) hue-rotate(354deg) brightness(91%) contrast(88%);
        }

        .pv-popup-addr {
            margin: 4px 0 8px;
            font-size: 0.82rem;
            color: var(--text-secondary);
        }

        .pv-popup-type {
            margin: 0 0 12px;
            padding-bottom: 12px;
            font-style: italic;
            font-size: 0.9rem;
            color: var(--text-secondary);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .pv-popup-actions {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .pv-popup-vote {
            text-align: center;
            font-family: var(--font-header);
            text-transform: uppercase;
            font-weight: 700;
            font-size: 0.82rem;
            letter-spacing: 0.04em;
            color: #fff;
            background: linear-gradient(180deg, var(--brand-red) 0%, #2f533a 100%);
            padding: 10px;
            border-radius: 6px;
            cursor: pointer;
            transition: transform 0.15s ease, filter 0.15s ease;
        }

        .pv-popup-vote.is-pressed {
            transform: scale(0.97);
            filter: brightness(1.12);
        }

        .pv-popup-checkin {
            text-align: center;
            font-size: 0.78rem;
            color: var(--text-secondary);
            border: 2px solid rgba(255, 255, 255, 0.2);
            padding: 8px;
            border-radius: 6px;
        }

        @media (max-width: 820px) {
            .pv-split {
                flex-direction: column;
                align-items: stretch;
            }

            .pv-features {
                max-width: none;
            }

            .participate-form-link {
                max-width: none;
            }

            .pv-media {
                align-self: center;
            }

            .pv-stack {
                margin: 0 auto;
                height: 374px;
            }
        }

        @media (min-width: 821px) {
            .pv-media {
                flex: 1 1 42%;
                min-width: 280px;
            }

            .pv-stack {
                width: clamp(374px, 41.8vw, 506px);
                height: clamp(440px, 48.4vw, 594px);
                max-width: none;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .pv-stack.is-active .pv-stack-card {
                animation: none;
                opacity: 1;
            }

            .pv-stack-card {
                transition: none;
            }
        }

        .participate-form-wrap {
            margin-top: 2rem;
            padding-top: 1.75rem;
            border-top: 1px solid rgba(29, 26, 22, 0.18);
            text-align: left;
        }

        .participate-form-link {
            display: block;
            width: 100%;
            max-width: 50vw;
            box-sizing: border-box;
            text-align: center;
            font-family: var(--font-header);
            font-weight: 800;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--bg-primary);
            background: linear-gradient(180deg, var(--accent) 0%, var(--brand-red) 100%);
            padding: 14px 28px;
            border-radius: 6px;
            text-decoration: none;
            box-shadow: 0 6px 18px rgba(43, 53, 97, 0.35);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .participate-form-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 24px rgba(43, 53, 97, 0.45);
        }

        .participate-form-link:focus-visible {
            outline: 2px solid var(--text-primary);
            outline-offset: 3px;
        }

        /* --- EVENTS SECTION --- */
        .events-section {
            padding: 100px clamp(24px, 5vw, 60px);
            background: var(--bg-secondary);
            border-top: 5px solid var(--text-primary);
        }

        .events-section .section-title {
            max-width: 1400px;
            margin-left: auto;
            margin-right: auto;
        }

        .event-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
            gap: 32px;
            max-width: 1400px;
            margin: 0 auto;
            padding-bottom: 48px;
        }

        .event-card {
            background: var(--bg-primary);
            border: 2px solid rgba(29, 26, 22, 0.2);
            border-radius: 10px;
            overflow: hidden;
            transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
            box-shadow: 0 8px 24px rgba(0,0,0,0.1);
            display: flex;
            flex-direction: column;
            cursor: pointer;
        }

        .event-card:hover {
            border-color: var(--accent);
            box-shadow: 0 12px 32px rgba(210, 160, 57, 0.25);
        }

        .event-img {
            height: 176px;
            background: #ccc;
            background-size: cover;
            background-position: center;
        }

        .event-info {
            padding: 24px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .event-info .event-district {
            display: inline-block;
            font-family: var(--font-hero);
            font-size: 28px;
            font-weight: 700;
            color: var(--text-primary);
            text-transform: uppercase;
            margin-top: -4px;
            margin-bottom: 14px;
            transform: rotate(-2deg) skewX(-5deg);
            vertical-align: bottom;
            text-shadow: 
                1px 1px 0px #0F1626,
                2px 2px 0px var(--accent),
                3px 3px 0px var(--accent),
                4px 4px 0px var(--brand-red),
                5px 5px 0px var(--brand-red),
                7px 7px 10px rgba(0,0,0,0.4);
            letter-spacing: 1px;
        }

        .event-info .event-neighborhoods {
            margin-bottom: 8px;
        }

        .event-info .event-hosts {
            margin-bottom: 20px;
            flex-grow: 1;
        }

        .event-info .event-datetime {
            flex-grow: 0;
            margin-bottom: 0;
            margin-top: auto;
        }

        .event-info .event-datetime strong {
            color: var(--brand-red);
            font-size: 22px;
            display: block;
            margin-bottom: 0;
            font-family: var(--font-header);
            letter-spacing: 0.03em;
        }

        /* Past crawls move to the back of the grid; their date switches to
           theme red (--accent) instead of the default olive green. */
        .event-card.is-past .event-info .event-datetime strong {
            color: var(--accent);
        }

        .event-info .brand-btn {
            display: none;
        }

        @media (max-width: 767px) {
            .events-section {
                padding: 80px 28px;
            }

            .event-grid {
                grid-template-columns: 1fr;
                width: 90%;
                max-width: 310px;
                gap: 30px;
                padding-bottom: 44px;
            }

            .event-card {
                border-radius: 9px;
                box-shadow: 0 7px 21px rgba(0,0,0,0.1);
            }

            .event-img {
                height: 160px;
            }

            .event-info {
                padding: 22px;
            }

            .event-info .event-district {
                font-size: 24px;
                margin-top: -2px;
                margin-bottom: 10px;
            }

            .event-info .event-neighborhoods {
                margin-bottom: 6px;
            }

            .event-info .event-hosts {
                margin-bottom: 16px;
            }

            .event-info .event-datetime strong {
                font-size: 1.4rem;
                margin-bottom: 0;
            }

            .event-info .brand-btn {
                display: none;
            }

            .event-card:hover {
                border-color: var(--accent);
                box-shadow: 0 11px 28px rgba(210, 160, 57, 0.25);
            }
        }

        /* --- SCROLL ANIMATIONS (INTERSECTION OBSERVER) --- */
        .js-reveal {
            opacity: 0;
            transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .reveal-y {
            transform: translateY(60px);
        }

        .reveal-x {
            transform: translateX(-60px);
        }

        .reveal-x-reverse {
            transform: translateX(60px);
        }

        .reveal-opacity {
            transform: none;
        }

        .js-reveal.is-visible {
            opacity: 1;
            transform: translate(0, 0);
        }

        /* Event cards: hover lift after scroll reveal (beats .js-reveal.is-visible) */
        .event-grid .event-card.js-reveal.reveal-y.is-visible:hover {
            transform: translateY(-8px) scale(1.02);
            border-color: var(--accent);
            box-shadow: 0 12px 32px rgba(210, 160, 57, 0.25);
        }

        @media (max-width: 767px) {
            .event-grid .event-card.js-reveal.reveal-y.is-visible:hover {
                transform: translateY(-7px) scale(1.02);
                box-shadow: 0 11px 28px rgba(210, 160, 57, 0.25);
            }
        }
        
        .delay-200 { transition-delay: 0.2s; }
        .delay-400 { transition-delay: 0.4s; }


/* District Map Highlight Animation */
@keyframes rotate-highlight {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

