*,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        html {
            margin: 0;
            padding: 0;
            scroll-behavior: smooth;
        }

        body {
            margin: 0 !important;
            padding: 0;
            overflow-x: hidden;
            font-family: 'Montserrat', sans-serif;
        }

        /* Shell chrome: assets/css/shell.css */

        #hae-top {
            margin-left: -72px;
            width: calc(100% + 72px);
            padding-left: 72px;
        }

        @media (max-width: 767px) {

            /* Hide desktop sidebar and show mobile header */
            #hae-sidebar {
                display: none;
            }

            #home-mobile-header {
                display: flex;
            }

            #hae-main {
                margin-left: 0 !important;
                width: 100%;
                overflow-x: hidden;
            }

            #hae-top {
                margin-left: 0 !important;
                width: 100vw !important;
                padding-left: 0 !important;
                left: 0;
                position: relative;
            }

            #mega-menu {
                left: 0;
                max-width: 100vw;
                width: min(300px, 100vw);
                transform: translateX(-100%);
            }

            #mega-menu.is-open {
                transform: translateX(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(28px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slowZoom {
            from {
                transform: scale(1);
            }

            to {
                transform: scale(1.07);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .au {
            opacity: 0;
            animation: fadeInUp 0.78s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        .ai {
            opacity: 0;
            animation: fadeIn 1s ease-out forwards;
        }

        .abz {
            animation: slowZoom 24s ease-in-out infinite alternate;
        }

        .d1 {
            animation-delay: 100ms;
        }

        .d3 {
            animation-delay: 300ms;
        }

        .d5 {
            animation-delay: 500ms;
        }

        .d7 {
            animation-delay: 700ms;
        }

        .d9 {
            animation-delay: 900ms;
        }

        .d11 {
            animation-delay: 1100ms;
        }

        .hero-slide {
            transition: opacity 1.2s ease-in-out;
        }

        .hero-slide.active {
            opacity: 1;
            z-index: 10;
        }

        .hero-slide.inactive {
            opacity: 0;
            z-index: 0;
        }

        @keyframes revealScale {
            from {
                transform: scale(1.15);
            }

            to {
                transform: scale(1);
            }
        }

        .img-reveal {
            animation: revealScale 12s ease-out forwards;
        }

        .glass-hud {
            background: rgba(10, 15, 40, 0.25);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        @media (max-width: 480px) {
            .glass-hud {
                padding: 0.5rem 0.9rem !important;
                max-width: calc(100% - 2rem);
            }

            .counters-inner {
                padding: 0 1.25rem !important;
            }

            #sectors .max-w-\[88rem\],
            #clients .max-w-\[88rem\],
            #contact .max-w-\[88rem\] {
                padding-left: 1.25rem !important;
                padding-right: 1.25rem !important;
            }
        }

        .thumb-nav {
            width: 120px;
            height: 70px;
            border-radius: 8px;
            overflow: hidden;
            border: 2px solid transparent;
            cursor: pointer;
            transition: 0.3s;
            filter: grayscale(1) opacity(0.5);
        }

        .thumb-nav:hover {
            filter: grayscale(0) opacity(1);
            border-color: rgba(76, 161, 231, 0.5);
        }

        .thumb-nav.active {
            filter: grayscale(0) opacity(1);
            border-color: #4CA1E7;
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }

        /* ── Partners ── */
        @keyframes ticker {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        .marquee-track {
            display: flex;
            width: max-content;
            animation: ticker 38s linear infinite;
        }

        .marquee-track:hover {
            animation-play-state: paused;
        }

        .marquee-track.paused {
            animation-play-state: paused;
        }

        .partners-strip {
            position: relative;
            padding: 3rem 2rem;
            overflow: hidden;
            background: linear-gradient(180deg, #f0f1f4 0%, #f4f5f7 100%);
            border-radius: 1.5rem;
            border: 1px solid rgba(33, 53, 106, 0.06);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
        }

        .partners-logo {
            max-height: 52px;
            height: 52px;
            width: auto;
            object-fit: contain;
            opacity: 1;
            transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
            cursor: pointer;
        }

        .partners-logo:hover {
            transform: scale(1.1);
        }

        .partners-fade-l {
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 6rem;
            background: linear-gradient(to right, #f4f5f7, transparent);
            z-index: 2;
            pointer-events: none;
            border-radius: 1.5rem 0 0 1.5rem;
        }

        .partners-fade-r {
            position: absolute;
            right: 0;
            top: 0;
            bottom: 0;
            width: 6rem;
            background: linear-gradient(to left, #f4f5f7, transparent);
            z-index: 2;
            pointer-events: none;
            border-radius: 0 1.5rem 1.5rem 0;
        }

        /* ── Core Business Areas (Inter / fluid 3-col / nine cards) ── */
        #sectors {
            font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        #sectors .sectors-head {
            margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
            max-width: 48rem;
        }

        #sectors .sectors-eyebrow {
            font-size: 9px;
            font-weight: 800;
            letter-spacing: 0.4em;
            text-transform: uppercase;
            color: #4CA1E7;
            margin-bottom: 0.75rem;
        }

        #sectors .sectors-title {
            font-size: clamp(2rem, 4.5vw, 4rem);
            font-weight: 800;
            color: #21356A;
            text-transform: uppercase;
            margin: 0 0 1rem 0;
            letter-spacing: -0.02em;
            line-height: 1.05;
        }

        #sectors .sectors-title-accent {
            width: 48px;
            height: 3px;
            background: #4CA1E7;
            border-radius: 2px;
            margin-bottom: 0.75rem;
        }

        #sectors .sectors-lead {
            font-size: clamp(0.85rem, 1.5vw, 0.95rem);
            line-height: 1.7;
            color: rgba(37, 64, 143, 0.65);
            font-style: italic;
            margin: 0;
            max-width: 42rem;
        }

        a.sector-card {
            text-decoration: none !important;
            color: inherit;
            -webkit-tap-highlight-color: transparent;
            container-type: inline-size;
            container-name: sector;
            display: flex;
            flex-direction: column;
            height: 100%;
            min-width: 0;
            background: #fff;
            border-radius: 1.25rem;
            overflow: hidden;
            border: 1px solid rgba(15, 23, 42, 0.06);
            box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
        }

        #sectors a.sector-card:visited,
        #sectors a.sector-card:hover,
        #sectors a.sector-card:active,
        #sectors a.sector-card:focus {
            text-decoration: none !important;
        }

        #sectors a.sector-card .sector-card-title,
        #sectors a.sector-card .sector-card-desc,
        #sectors a.sector-card .sector-card-cta {
            text-decoration: none !important;
        }

        /* Entry animation: CSS-only so grid never stays invisible if JS fails */
        @keyframes sector-card-enter {
            from {
                opacity: 0;
                transform: translateY(28px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        #sectors a.sector-card.sector-card-reveal {
            opacity: 1;
            transform: translateY(0);
            animation: sector-card-enter 0.78s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms) both;
            transition:
                box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease,
                transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @media (prefers-reduced-motion: reduce) {
            #sectors a.sector-card.sector-card-reveal {
                animation: none;
            }
        }

        #sectors a.sector-card.sector-card-reveal:hover {
            transform: translateY(-8px);
            box-shadow: 0 24px 56px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(76, 161, 231, 0.15);
            border-color: rgba(76, 161, 231, 0.2);
        }

        a.sector-card:focus-visible {
            outline: 2px solid #4CA1E7;
            outline-offset: 3px;
        }

        .sector-card-media {
            position: relative;
            flex-shrink: 0;
            overflow: hidden;
            aspect-ratio: 16 / 10;
            background: linear-gradient(145deg, #e2e8f0 0%, #cbd5e1 100%);
        }

        .sector-card-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
        }

        a.sector-card:hover .sector-card-media img {
            transform: scale(1.08);
        }

        .sector-card-media::after {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            background: linear-gradient(to top, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.1) 42%, transparent 100%);
        }

        .sector-card-body {
            position: relative;
            flex: 1;
            display: flex;
            flex-direction: column;
            padding: 0 1.5rem 1.5rem;
            padding-top: 2.25rem;
        }

        #sectors .sector-icon {
            position: absolute;
            top: 0;
            left: 1.5rem;
            transform: translateY(-50%);
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: 2px solid rgba(255, 255, 255, 0.95);
            background: #fff !important;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
            transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
            z-index: 2;
        }

        a.sector-card:hover .sector-icon {
            background: #4CA1E7 !important;
            border-color: #4CA1E7;
            box-shadow: 0 12px 32px rgba(76, 161, 231, 0.35);
            transform: translateY(-50%) scale(1.06);
        }

        #sectors .sector-icon i {
            font-size: 1.35rem;
            color: #4CA1E7 !important;
        }

        a.sector-card:hover .sector-icon i {
            color: #fff !important;
        }

        .sector-card-title {
            font-size: clamp(0.75rem, 0.5rem + 1.2cqi, 0.8125rem);
            font-weight: 800;
            color: #21356A;
            text-transform: uppercase;
            margin: 0 0 0.85rem 0;
            line-height: 1.3;
            letter-spacing: 0.14em;
            text-wrap: balance;
        }

        .sector-card-desc {
            margin: 0;
            flex: 1 1 auto;
            color: #475569;
            font-size: 0.9375rem;
            line-height: 1.7;
            font-weight: 500;
        }

        .sector-card-cta {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 1.25rem;
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            color: #4CA1E7;
            opacity: 0;
            transform: translateY(10px);
            transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .sector-card-cta i {
            font-size: 1rem;
            transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        }

        a.sector-card:hover .sector-card-cta,
        a.sector-card:focus-visible .sector-card-cta {
            opacity: 1;
            transform: translateY(0);
        }

        a.sector-card:hover .sector-card-cta i,
        a.sector-card:focus-visible .sector-card-cta i {
            transform: translateX(4px);
        }

        /* Registration callout — sixth grid cell (replaces watermark) */
        #sectors .sectors-callout-cell {
            display: flex;
            min-width: 0;
            min-height: 0;
            align-self: stretch;
        }

        #sectors .sectors-callout-panel {
            position: relative;
            flex: 1;
            width: 100%;
            min-height: clamp(220px, 32vw, 360px);
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: clamp(1.75rem, 4.5vw, 2.75rem);
            border-radius: 1.25rem;
            overflow: hidden;
            background: linear-gradient(152deg, #0d1428 0%, #152a52 42%, #0d1428 100%);
            border: 1px solid rgba(76, 161, 231, 0.22);
            box-shadow:
                0 12px 40px rgba(13, 20, 40, 0.18),
                0 0 0 1px rgba(255, 255, 255, 0.04) inset;
        }

        #sectors .sectors-callout-panel::before {
            content: '';
            position: absolute;
            left: 0;
            top: 1.25rem;
            bottom: 1.25rem;
            width: 3px;
            border-radius: 0 2px 2px 0;
            background: linear-gradient(180deg, #4CA1E7 0%, rgba(76, 161, 231, 0.35) 100%);
        }

        #sectors .sectors-callout-panel::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse 120% 80% at 100% 0%, rgba(76, 161, 231, 0.12) 0%, transparent 55%);
            pointer-events: none;
        }

        #sectors .sectors-callout-eyebrow {
            position: relative;
            z-index: 1;
            margin: 0 0 1rem 0;
            padding-left: 0.85rem;
            font-size: 9px;
            font-weight: 800;
            letter-spacing: 0.38em;
            text-transform: uppercase;
            color: #4CA1E7;
        }

        #sectors .sectors-callout-body {
            position: relative;
            z-index: 1;
            margin: 0;
            padding-left: 0.85rem;
            max-width: 36rem;
            font-size: clamp(0.9375rem, 1.1vw + 0.85rem, 1.0625rem);
            font-weight: 500;
            font-style: italic;
            line-height: 1.72;
            color: rgba(248, 250, 252, 0.9);
            text-decoration: none;
            text-wrap: balance;
        }

        #sectors .sectors-callout-cell.sector-card-reveal {
            opacity: 1;
            transform: translateY(0);
            animation: sector-card-enter 0.78s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms) both;
        }

        @media (prefers-reduced-motion: reduce) {
            #sectors .sectors-callout-cell.sector-card-reveal {
                animation: none;
            }
        }

        /* ── Contact ── */
        .contact-card {
            border-radius: 2rem;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(33, 53, 106, 0.1), 0 0 0 1px rgba(33, 53, 106, 0.06);
            display: flex;
            flex-wrap: wrap;
            min-height: 480px;
        }

        .contact-info {
            flex: 0 0 min(380px, 100%);
            background: linear-gradient(165deg, #21356A 0%, #1a1f4a 50%, #161b42 100%);
            padding: 3rem 2.75rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .contact-cta {
            display: flex;
            align-items: center;
            gap: 1.1rem;
            text-decoration: none;
            color: white;
            padding: 0.6rem 0;
            border-radius: 12px;
            transition: background 0.25s ease, transform 0.2s ease;
        }

        .contact-cta:hover {
            background: rgba(255, 255, 255, 0.08);
            color: white;
            transform: translateX(4px);
        }

        .contact-cta-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: 2px solid rgba(76, 161, 231, 0.5);
            background: rgba(76, 161, 231, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .contact-cta-icon i {
            font-size: 1.1rem;
            color: #4CA1E7;
            transition: color 0.25s ease;
        }

        .contact-cta:hover .contact-cta-icon {
            background: #4CA1E7;
            border-color: #4CA1E7;
            transform: scale(1.08);
            box-shadow: 0 4px 16px rgba(76, 161, 231, 0.35);
        }

        .contact-cta:hover .contact-cta-icon i {
            color: #ffffff !important;
        }

        .contact-form-panel {
            flex: 1;
            min-width: 280px;
            background: linear-gradient(135deg, #4CA1E7 0%, #0099d6 100%);
            padding: 3rem 2.75rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .contact-form-panel::before {
            content: '';
            position: absolute;
            inset: 0;
            opacity: 0.06;
            background-image: repeating-linear-gradient(45deg, white 0, white 1px, transparent 0, transparent 40px);
            background-size: 40px 40px;
            pointer-events: none;
        }

        #contact .contact-input {
            background: transparent;
            border: none;
            border-bottom: 2px solid rgba(33, 53, 106, 0.25);
            outline: none;
            color: #21356A;
            padding: 0.7rem 0 0.65rem;
            width: 100%;
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 0.9375rem;
            transition: border-color 0.25s ease;
        }

        #contact .contact-input::placeholder {
            color: rgba(33, 53, 106, 0.62);
            font-weight: 600;
        }

        #contact .contact-input:focus {
            border-bottom-color: #21356A;
            box-shadow: 0 2px 0 0 #21356A;
        }

        @media (max-width: 900px) {
            .contact-card {
                flex-direction: column;
            }

            .contact-info,
            .contact-form-panel {
                flex: 1 1 100%;
                min-width: 0;
                padding: 2.25rem 1.75rem;
            }
        }

        #contact .contact-form.submitted .contact-input:invalid {
            border-bottom-color: rgba(200, 40, 40, 0.9);
        }

        #contact .contact-form .field-error {
            font-size: 0.75rem;
            color: rgba(200, 40, 40, 0.95);
            margin-top: 0.25rem;
            display: none;
        }

        #contact .contact-form.submitted .contact-input:invalid+.field-error {
            display: block;
        }

        #contact select.contact-input {
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            padding-right: 1.75rem;
        }

        #contact textarea.contact-input {
            min-height: 80px;
            resize: vertical;
        }

        #contact .contact-btn {
            background: #21356A;
            color: white;
            border: none;
            font-family: 'Montserrat', sans-serif;
            font-weight: 800;
            font-size: 0.75rem;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            padding: 1.05rem 2.25rem;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 6px 24px rgba(33, 53, 106, 0.3);
        }

        #contact .contact-btn:hover {
            background: #3C71C2;
            transform: translateY(-3px);
        }

        #form-success {
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            gap: 1rem;
            min-height: 220px;
            position: relative;
            z-index: 1;
        }

        .send-another-btn {
            margin-top: 0.5rem;
            background: rgba(33, 53, 106, 0.12);
            color: #21356A;
            border: none;
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 0.6875rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            padding: 0.75rem 1.6rem;
            border-radius: 8px;
            cursor: pointer;
        }

        /* ── Sidebar accents ── */
        #hae-sidebar::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: #4CA1E7;
        }

        .sidebar-social {
            color: #3C71C2;
            font-size: 1rem;
            transition: color 0.2s, transform 0.2s;
            text-decoration: none;
        }

        .sidebar-social:hover {
            color: #4CA1E7;
            transform: translateY(-2px);
        }

        /* Site footer: see assets/css/footer.css */

        /* Ensure anchored sections are not hidden under mobile header */
        section[id] {
            scroll-margin-top: 64px;
        }

        @media (min-width: 768px) {
            section[id] {
                scroll-margin-top: 0;
            }
        }

        @media (max-width: 768px) {
            .mission-bg {
                background-attachment: scroll !important;
            }
        }

        /* ═══════════════════════════════════════════════════
           ENHANCED PROJECTS SECTION
        ═══════════════════════════════════════════════════ */
        :root {
            --proj-cyan: #5BB3F5;
            --proj-cyan-bright: #8FD4FF;
            --proj-navy: #0d1428;
            --proj-navy-mid: #152244;
            --proj-glass: rgba(6, 12, 35, 0.7);
            --proj-glass-border: rgba(255, 255, 255, 0.07);
            --proj-smooth: cubic-bezier(0.16, 1, 0.3, 1);
            --proj-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
            --proj-text-dim: rgba(196, 220, 248, 0.72);
            --proj-text-mid: rgba(220, 238, 255, 0.9);
            --proj-label: rgba(168, 205, 240, 0.78);
        }

        #projects-scroll-wrapper {
            position: relative;
            height: 100vh;
            overflow: hidden;
        }

        #projects-section {
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            display: flex;
        }

        /* ── Left panel ── */
        #proj-left {
            position: relative;
            flex: 0 0 52%;
            height: 100vh;
            overflow: hidden;
            background: linear-gradient(135deg, #080e24 0%, #0f1d3e 50%, #0a1530 100%);
        }

        #proj-left::after {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 1;
            background-image:
                linear-gradient(rgba(76, 161, 231, 0.035) 1px, transparent 1px),
                linear-gradient(90deg, rgba(76, 161, 231, 0.035) 1px, transparent 1px);
            background-size: 52px 52px;
            pointer-events: none;
        }

        #proj-map-glow {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80%;
            height: 80%;
            background: radial-gradient(ellipse, rgba(76, 161, 231, 0.18) 0%, transparent 65%);
            z-index: 1;
            pointer-events: none;
            transition: opacity 0.5s ease, background 0.5s ease;
        }

        #proj-left:has(#proj-map-svg.is-highlighting) #proj-map-glow {
            background: radial-gradient(ellipse, rgba(91, 179, 245, 0.35) 0%, transparent 68%);
        }

        #proj-section-label {
            position: absolute;
            top: 2.5rem;
            left: 2.5rem;
            z-index: 10;
            display: flex;
            flex-direction: column;
            gap: 0.35rem;
        }

        .proj-overline {
            font-size: 8px;
            font-weight: 800;
            letter-spacing: 0.45em;
            text-transform: uppercase;
            color: var(--proj-cyan);
            display: block;
        }

        .proj-big-title {
            font-size: clamp(3.5rem, 5.5vw, 5.5rem);
            font-weight: 900;
            color: #fff;
            text-transform: uppercase;
            line-height: 0.85;
            letter-spacing: -0.035em;
        }

        .proj-title-accent {
            width: 40px;
            height: 3px;
            background: linear-gradient(90deg, var(--proj-cyan), transparent);
            border-radius: 2px;
            margin-top: 0.75rem;
        }

        #proj-counter-box {
            position: absolute;
            bottom: 3rem;
            left: 2.5rem;
            z-index: 10;
            display: flex;
            align-items: baseline;
            gap: 0.3rem;
        }

        .proj-count-big {
            font-size: 4rem;
            font-weight: 900;
            color: #fff;
            line-height: 1;
            letter-spacing: -0.04em;
            transition: all 0.5s var(--proj-smooth);
        }

        .proj-count-sep {
            font-size: 1.8rem;
            font-weight: 300;
            color: rgba(255, 255, 255, 0.2);
        }

        .proj-count-total {
            font-size: 1.8rem;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.25);
        }

        #proj-region-badge {
            position: absolute;
            bottom: 8rem;
            left: 2.5rem;
            z-index: 10;
            opacity: 0;
            transform: translateY(12px);
            transition: opacity 0.55s ease, transform 0.55s var(--proj-smooth);
        }

        #proj-region-badge.show {
            opacity: 1;
            transform: translateY(0);
        }

        .badge-overline {
            font-size: 7.5px;
            font-weight: 800;
            letter-spacing: 0.35em;
            text-transform: uppercase;
            color: rgba(76, 161, 231, 0.65);
            margin-bottom: 4px;
            display: block;
        }

        .badge-region-name {
            font-size: 1.6rem;
            font-weight: 800;
            color: #fff;
            line-height: 1;
            text-shadow: 0 4px 24px rgba(0, 0, 0, 0.9);
        }

        .badge-divider {
            width: 28px;
            height: 2px;
            background: var(--proj-cyan);
            border-radius: 1px;
            margin-top: 6px;
        }

        #proj-vert-progress {
            position: absolute;
            right: 0;
            top: 0;
            bottom: 0;
            width: 2px;
            z-index: 10;
            background: rgba(255, 255, 255, 0.06);
        }

        #proj-vert-fill {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to bottom, var(--proj-cyan), rgba(76, 161, 231, 0.3));
            transition: height 0.7s var(--proj-smooth);
            border-radius: 2px;
        }

        #proj-vert-fill::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: -3px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--proj-cyan);
            box-shadow: 0 0 12px rgba(76, 161, 231, 0.9);
        }

        /* Map SVG — no filter on root (would block per-region SVG glow) */
        #proj-map-svg {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -48%);
            width: 85%;
            height: 95%;
            z-index: 2;
            overflow: visible;
        }

        .jordan-region {
            fill: rgba(28, 72, 128, 0.55);
            stroke: rgba(100, 175, 240, 0.65);
            stroke-width: 1.4;
            transition: fill 0.45s ease, stroke 0.45s ease, filter 0.45s ease, stroke-width 0.35s ease, opacity 0.45s ease;
            cursor: pointer;
        }

        .jordan-region:hover {
            fill: rgba(40, 95, 160, 0.75);
            stroke: rgba(150, 210, 255, 0.85);
        }

        /* Dim non-selected regions when one is active (scroll or hover) */
        #proj-map-svg.is-highlighting .jordan-region:not(.active),
        #proj-map-svg.map-preview .jordan-region:not(.active) {
            fill: rgba(14, 32, 68, 0.4);
            stroke: rgba(70, 120, 175, 0.3);
            opacity: 0.65;
        }

        .jordan-region.active {
            fill: #4CA1E7;
            stroke: #ffffff;
            stroke-width: 2.5;
            opacity: 1;
            filter: url(#hae-region-glow);
        }

        /* Divider */
        #proj-divider {
            position: relative;
            flex: 0 0 1px;
            background: linear-gradient(to bottom, transparent 0%, rgba(76, 161, 231, 0.4) 25%, rgba(76, 161, 231, 0.4) 75%, transparent 100%);
            z-index: 20;
        }

        /* Right scroll panel */
        #proj-right {
            flex: 1;
            height: 100vh;
            overflow-y: scroll;
            scroll-snap-type: y mandatory;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            background: #080e24;
            position: relative;
            z-index: 5;
        }

        #proj-right::-webkit-scrollbar {
            display: none;
        }

        /* Intro slot */
        .proj-header-slot {
            height: 100vh;
            scroll-snap-align: start;
            scroll-snap-stop: always;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 0 3rem 3.5rem;
            position: relative;
            overflow: hidden;
        }

        .proj-header-slot::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, #080e24 0%, #0f1d3e 60%, #080e24 100%);
            z-index: 0;
        }

        .intro-headline {
            font-size: clamp(2rem, 3.5vw, 3.8rem);
            font-weight: 800;
            color: #fff;
            line-height: 1.1;
            letter-spacing: -0.025em;
            margin-bottom: 1.25rem;
            position: relative;
            z-index: 1;
        }

        .intro-body {
            font-size: 0.82rem;
            color: var(--proj-text-mid);
            line-height: 1.75;
            max-width: 380px;
            margin-bottom: 2.5rem;
            position: relative;
            z-index: 1;
            font-weight: 500;
        }

        .intro-scroll-cue {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 8px;
            font-weight: 800;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.3);
            position: relative;
            z-index: 1;
            animation: scrollCuePulse 2.5s ease-in-out infinite;
        }

        @keyframes scrollCuePulse {

            0%,
            100% {
                opacity: 0.4;
                transform: translateY(0);
            }

            50% {
                opacity: 0.8;
                transform: translateY(4px);
            }
        }

        .intro-scroll-cue i {
            font-size: 1.2rem;
            color: var(--proj-cyan);
        }

        /* Card slots */
        .proj-card-slot {
            height: 100vh;
            scroll-snap-align: start;
            scroll-snap-stop: always;
            display: flex;
            align-items: stretch;
            padding: 1.25rem 2rem 1.25rem 2.25rem;
            position: relative;
        }

        /* Reset philosophy stagger on small screens */
        @media (max-width: 680px) {
            .philo-stagger {
                margin-top: 0;
            }
        }

        .proj-full-card {
            width: 100%;
            display: flex;
            flex-direction: column;
            background: linear-gradient(165deg, rgba(12, 22, 52, 0.96) 0%, rgba(8, 15, 40, 0.92) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 1.75rem;
            overflow: hidden;
            box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            transition: border-color 0.5s ease, box-shadow 0.5s ease;
            position: relative;
        }

        .proj-full-card::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background: linear-gradient(to bottom, transparent 0%, var(--proj-cyan) 20%, #6dc5ff 50%, var(--proj-cyan) 80%, transparent 100%);
            opacity: 0;
            transition: opacity 0.5s ease;
            z-index: 10;
        }

        .proj-card-slot.is-active .proj-full-card::before {
            opacity: 1;
        }

        .proj-full-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent 0%, var(--proj-cyan) 50%, transparent 100%);
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .proj-card-slot.is-active .proj-full-card::after {
            opacity: 1;
        }

        .proj-card-slot.is-active .proj-full-card {
            border-color: rgba(76, 161, 231, 0.35);
            box-shadow:
                0 32px 80px rgba(0, 0, 0, 0.8),
                0 0 0 1px rgba(76, 161, 231, 0.2),
                0 0 80px rgba(76, 161, 231, 0.07),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
        }

        .proj-card-slot:hover:not(.is-active) .proj-full-card,
        .proj-card-slot.is-hovered:not(.is-active) .proj-full-card {
            border-color: rgba(91, 179, 245, 0.35);
            box-shadow:
                0 28px 70px rgba(0, 0, 0, 0.7),
                0 0 0 1px rgba(91, 179, 245, 0.15),
                0 0 48px rgba(91, 179, 245, 0.12);
        }

        .proj-card-slot.is-hovered .proj-full-card::before {
            opacity: 0.55;
        }

        /* Card image */
        .proj-card-img {
            position: relative;
            flex: 0 0 48%;
            min-height: 220px;
            overflow: hidden;
            background: #142a52;
        }

        .proj-card-img--empty {
            background: linear-gradient(145deg, #142a52 0%, #1a3568 45%, #0f2248 100%);
        }

        .proj-card-img-fallback {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            padding: 1.5rem;
            background: linear-gradient(145deg, rgba(20, 42, 82, 0.95) 0%, rgba(15, 34, 72, 0.98) 100%);
        }

        .proj-card-img-fallback-icon {
            font-size: 3.25rem;
            color: rgba(143, 212, 255, 0.45);
        }

        .proj-card-img-fallback-ref {
            font-size: 0.7rem;
            font-weight: 800;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: rgba(200, 230, 255, 0.55);
        }

        .proj-card-meta-row {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 0.15rem;
        }

        .proj-card-meta-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            color: rgba(200, 225, 255, 0.72);
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(143, 212, 255, 0.18);
            border-radius: 999px;
            padding: 0.35rem 0.7rem;
        }

        .proj-card-meta-chip i {
            color: var(--proj-cyan-bright);
            font-size: 0.85rem;
        }

        .proj-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.9s var(--proj-smooth), filter 0.65s ease;
            filter: brightness(0.72) saturate(0.92) contrast(1.04);
            transform: scale(1.06);
        }

        .proj-card-slot:hover .proj-card-img img {
            filter: brightness(0.82) saturate(1) contrast(1.05);
        }

        .proj-card-slot.is-active .proj-card-img img {
            transform: scale(1.0);
            filter: brightness(0.96) saturate(1.08) contrast(1.06);
        }

        .proj-card-slot.is-active:hover .proj-card-img img {
            filter: brightness(1) saturate(1.12) contrast(1.06);
        }

        /* Light top vignette — keeps sky/upper detail visible */
        .proj-card-img::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(
                180deg,
                rgba(8, 15, 40, 0.28) 0%,
                transparent 32%
            );
            z-index: 1;
            pointer-events: none;
            transition: opacity 0.5s ease;
        }

        /* Bottom-weighted overlay for badges only */
        .proj-card-img::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(
                to top,
                rgba(8, 15, 40, 0.82) 0%,
                rgba(8, 15, 40, 0.35) 28%,
                transparent 58%
            );
            z-index: 1;
            pointer-events: none;
            transition: opacity 0.5s ease;
        }

        .proj-card-slot.is-active .proj-card-img::before {
            opacity: 0.65;
        }

        .proj-card-slot.is-active .proj-card-img::after {
            background: linear-gradient(
                to top,
                rgba(8, 15, 40, 0.72) 0%,
                rgba(8, 15, 40, 0.2) 26%,
                transparent 52%
            );
        }

        .proj-img-year {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            z-index: 2;
            background: rgba(10, 20, 48, 0.88);
            border: 1px solid rgba(143, 212, 255, 0.45);
            border-radius: 8px;
            padding: 0.45rem 1rem;
            font-size: 0.8rem;
            font-weight: 800;
            letter-spacing: 0.12em;
            color: var(--proj-cyan-bright);
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
        }

        .proj-img-badges {
            position: absolute;
            bottom: 1.5rem;
            left: 1.5rem;
            z-index: 2;
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .proj-badge {
            padding: 0.35rem 0.9rem;
            border-radius: 999px;
            font-size: 0.625rem;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            backdrop-filter: blur(10px);
        }

        .proj-badge-cat {
            background: rgba(13, 30, 68, 0.82);
            border: 1px solid rgba(143, 212, 255, 0.5);
            color: #e8f4ff;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
        }

        /* Card body */
        .proj-card-body {
            flex: 1;
            padding: 1.85rem 2.1rem 1.65rem 2.35rem;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            gap: 1.35rem;
            min-height: 0;
        }

        .proj-card-body > div:first-child {
            display: flex;
            flex-direction: column;
            gap: 1.1rem;
        }

        .proj-card-number {
            font-size: 5rem;
            font-weight: 900;
            color: rgba(255, 255, 255, 0.04);
            line-height: 1;
            letter-spacing: -0.04em;
            position: absolute;
            top: 1rem;
            right: 1.5rem;
            pointer-events: none;
            user-select: none;
            transition: color 0.5s ease;
        }

        .proj-card-slot.is-active .proj-card-number {
            color: rgba(76, 161, 231, 0.06);
        }

        .proj-card-title {
            font-size: clamp(1.45rem, 2.5vw, 2rem);
            font-weight: 800;
            color: #fff;
            line-height: 1.2;
            letter-spacing: -0.02em;
            margin-bottom: 0;
            max-width: 28ch;
            transition: color 0.4s ease;
        }

        .proj-card-slot.is-active .proj-card-title {
            color: #f0f8ff;
        }

        .proj-card-desc {
            font-size: clamp(0.9rem, 1.15vw, 1.02rem);
            color: var(--proj-text-dim);
            line-height: 1.65;
            margin-bottom: 0;
            max-width: 42ch;
            transition: color 0.4s ease;
        }

        .proj-card-slot.is-active .proj-card-desc {
            color: var(--proj-text-mid);
        }

        .proj-card-stats {
            display: flex;
            flex-wrap: wrap;
            gap: 1.25rem 2rem;
            padding: 1.1rem 1.15rem;
            border-top: 1px solid rgba(143, 212, 255, 0.18);
            border-radius: 0.85rem;
            background: rgba(255, 255, 255, 0.03);
        }

        .proj-stat {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

        .proj-stat-val {
            font-size: clamp(0.95rem, 1.2vw, 1.1rem);
            font-weight: 800;
            color: var(--proj-cyan-bright);
            letter-spacing: 0.02em;
            transition: color 0.4s ease;
        }

        .proj-card-slot.is-active .proj-stat-val {
            color: #a8e0ff;
        }

        .proj-stat-lbl {
            font-size: 0.625rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            color: var(--proj-label);
        }

        .proj-card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            margin-top: 0;
            padding-top: 1.1rem;
            border-top: 1px solid rgba(143, 212, 255, 0.12);
        }

        .proj-card-location {
            display: flex;
            align-items: center;
            gap: 0.55rem;
            font-size: 0.875rem;
            font-weight: 700;
            color: rgba(220, 238, 255, 0.72);
            letter-spacing: 0.04em;
        }

        .proj-card-location i {
            color: var(--proj-cyan-bright);
            font-size: 1.05rem;
        }

        .proj-card-cta {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(91, 179, 245, 0.08);
            border: 1px solid rgba(143, 212, 255, 0.45);
            color: var(--proj-cyan-bright);
            font-family: 'Montserrat', sans-serif;
            font-weight: 800;
            font-size: 0.625rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            padding: 0.75rem 1.35rem;
            border-radius: 8px;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.3s var(--proj-spring);
            flex-shrink: 0;
        }

        .proj-card-cta:hover {
            background: var(--proj-cyan);
            color: #fff;
            border-color: var(--proj-cyan);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(76, 161, 231, 0.4);
        }

        /* Footer slot */
        .proj-footer-slot {
            height: 100vh;
            scroll-snap-align: start;
            scroll-snap-stop: always;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            padding: 0 3rem;
            position: relative;
            overflow: hidden;
        }

        .proj-footer-slot::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, #080e24 0%, #0f1d3e 60%, #080e24 100%);
        }

        .proj-footer-cta-big {
            font-size: clamp(2rem, 3.5vw, 3.5rem);
            font-weight: 800;
            color: #fff;
            line-height: 1.15;
            margin-bottom: 1rem;
            position: relative;
            z-index: 1;
        }

        .proj-footer-sub {
            font-size: 0.82rem;
            color: var(--proj-text-mid);
            line-height: 1.7;
            max-width: 340px;
            margin-bottom: 2rem;
            position: relative;
            z-index: 1;
        }

        .proj-all-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.65rem;
            background: var(--proj-cyan);
            color: #fff;
            font-family: 'Montserrat', sans-serif;
            font-weight: 800;
            font-size: 9px;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            padding: 1rem 2rem;
            border-radius: 10px;
            text-decoration: none;
            border: none;
            cursor: pointer;
            transition: all 0.3s var(--proj-spring);
            box-shadow: 0 8px 28px rgba(76, 161, 231, 0.35);
            position: relative;
            z-index: 1;
        }

        .proj-all-btn:hover {
            background: #5eb0f0;
            transform: translateY(-3px);
            box-shadow: 0 12px 36px rgba(76, 161, 231, 0.5);
        }

        /* Floating dot nav */
        #proj-float-nav {
            position: absolute;
            right: 1.5rem;
            top: 50%;
            transform: translateY(-50%);
            z-index: 50;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.6rem;
        }

        .proj-dot-btn {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            cursor: pointer;
            padding: 0;
            transition: all 0.35s var(--proj-spring);
        }

        .proj-dot-btn.active {
            background: var(--proj-cyan);
            width: 8px;
            height: 8px;
            box-shadow: 0 0 10px rgba(76, 161, 231, 0.7);
        }

        .proj-dot-btn:hover {
            background: rgba(76, 161, 231, 0.7);
        }

        /* Keyboard hint */
        #proj-keyboard-hint {
            position: absolute;
            bottom: 1.5rem;
            right: 3rem;
            z-index: 10;
            display: flex;
            gap: 0.5rem;
            align-items: center;
            opacity: 0.35;
            font-size: 7.5px;
            font-weight: 700;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.5);
            pointer-events: none;
        }

        .kbd {
            padding: 3px 7px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            font-size: 7px;
            font-weight: 800;
            color: rgba(255, 255, 255, 0.4);
            background: rgba(255, 255, 255, 0.04);
        }

        /* Card entrance animation */
        @keyframes cardEnter {
            from {
                opacity: 0;
                transform: translateY(30px) scale(0.97);
            }

            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .proj-card-slot.animating .proj-full-card {
            animation: cardEnter 0.65s var(--proj-smooth) both;
        }

        /* Intro text animations */
        .intro-headline {
            animation: fadeInUp 0.7s 0.2s both;
        }

        .intro-body {
            animation: fadeInUp 0.7s 0.35s both;
        }

        .intro-scroll-cue {
            animation: fadeInUp 0.7s 0.5s both;
        }

        /* Responsive */
        @media (max-width: 900px) {
            #proj-left {
                flex: 0 0 45%;
            }

            .proj-card-slot {
                padding: 1rem 1.5rem;
            }

            .proj-card-body {
                padding: 1.35rem 1.5rem 1.25rem;
            }

            .proj-card-img {
                flex: 0 0 44%;
            }

            .proj-header-slot,
            .proj-footer-slot {
                padding: 0 1.75rem 2.5rem;
            }
        }

        @media (max-width: 680px) {

            /* Stack panels vertically and let height grow naturally */
            #projects-scroll-wrapper,
            #projects-section {
                height: auto;
                overflow: visible;
            }

            #projects-section {
                flex-direction: column;
            }

            #proj-left {
                flex: 0 0 35vh;
                height: auto;
            }

            #proj-right {
                flex: 1;
                height: auto;
                overflow-y: visible;
                scroll-snap-type: none;
            }

            .proj-header-slot,
            .proj-card-slot {
                height: auto;
                scroll-snap-align: none;
                scroll-snap-stop: normal;
            }

            #proj-map-svg {
                width: 70%;
                height: 70%;
            }

            #proj-section-label {
                top: 1.5rem;
                left: 1.5rem;
            }

            .proj-big-title {
                font-size: 2.8rem;
            }

            #proj-counter-box {
                bottom: 1.5rem;
                left: 1.5rem;
            }

            .proj-count-big {
                font-size: 2.8rem;
            }

            #proj-divider {
                flex: 0 0 1px;
                width: 100%;
                height: 1px;
            }

            .proj-card-slot {
                padding: 1rem 1.25rem;
            }

            .proj-card-img {
                flex: 0 0 42%;
                min-height: 180px;
            }

            .proj-card-title {
                max-width: none;
            }

            /* Hide keyboard hint on small screens */
            #proj-keyboard-hint {
                display: none;
            }
        }
