/* ==========================================
           GLOBAL: Rainbow - Orange
           ========================================== */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Inter', 'Be Vietnam Pro', -apple-system, sans-serif;
            background: #070709;
            color: #ffffff;
            overflow-x: hidden;
            cursor: none;
        }

        :root {
            --bg: #070709;
            --primary: #ff8000;
            --primary-light: #ffb366;
            --primary-dark: #994d00;
            --secondary: #ffcc00;
            --secondary-light: #ffdd66;
            --secondary-dark: #997a00;
            /* Legacy aliases */
            --accent: #ff8000;
            --accent-secondary: #ffcc00;
            --accent-dark: #994d00;
            --text: #ffffff;
            --text-muted: #888888;
            --text-dim: #333333;
            /* Smooth easing for speed ramp effect */
            --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
            --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
        }

        /* ==========================================
           DYNAMIC BLACK GLOW - Scales with font size
           ========================================== */
        /* Base text glow - applies to all text for legibility */
        body {
            text-shadow: 0 0 0.1em rgba(0, 0, 0, 0.8), 0 0 0.2em rgba(0, 0, 0, 0.6), 0 0.05em 0.15em rgba(0, 0, 0, 0.9);
        }

        /* Small text (0.7-1rem): subtle glow */
        .hero-greeting, .hero-credentials, .bridges-eyebrow, .footer-copy, .footer-credit,
        .nav-desktop a, .nav-mobile a, .bridge-item .category, .north-star-label,
        .footer-links a, .footer-social a, .footer-copyright {
            text-shadow: 0 0 0.15em rgba(0, 0, 0, 0.9), 0 0 0.3em rgba(0, 0, 0, 0.7), 0 0.08em 0.2em rgba(0, 0, 0, 1);
        }

        /* Medium text (1-2rem): moderate glow */
        .role-prefix, .unit-item, .closing-tagline, .nav-btn,
        .north-stars-eyebrow, .bridge-item .note {
            text-shadow: 0 0 0.2em rgba(0, 0, 0, 0.9), 0 0 0.4em rgba(0, 0, 0, 0.7), 0 0.1em 0.25em rgba(0, 0, 0, 1);
        }

        /* Large text (2-4rem): stronger glow */
        .hero-name, .north-stars-title, .north-star-title, .karaoke-text, .karaoke-text-revealed,
        .north-stars-subtitle, .north-stars-subtitle-revealed, .closing-text {
            text-shadow: 0 0 0.25em rgba(0, 0, 0, 0.95), 0 0 0.5em rgba(0, 0, 0, 0.8), 0 0.12em 0.35em rgba(0, 0, 0, 1);
        }

        /* Extra large text (4rem+): maximum glow */
        .role-item, .closing-item, .bridge-item:hover .left, .bridge-item:hover .right,
        .bridge-item.focused .left, .bridge-item.focused .right {
            text-shadow: 0 0 0.3em rgba(0, 0, 0, 1), 0 0 0.6em rgba(0, 0, 0, 0.9), 0 0.15em 0.45em rgba(0, 0, 0, 1), 0 0 1em rgba(0, 0, 0, 0.7);
        }

        /* Bridge items - normal state */
        .bridge-item .left, .bridge-item .right, .bridge-item .arrow {
            text-shadow: 0 0 0.2em rgba(0, 0, 0, 0.9), 0 0 0.4em rgba(0, 0, 0, 0.7), 0 0.1em 0.3em rgba(0, 0, 0, 1);
        }

        /* ==========================================
           SECTION REVEAL ANIMATIONS (Speed Ramp)
           ========================================== */
        .section-reveal {
            opacity: 0;
            transform: translateY(80px) perspective(1000px) rotateX(2deg);
            transition: opacity 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
        }

        .section-reveal.in-view {
            opacity: 1;
            transform: translateY(0) perspective(1000px) rotateX(0);
        }

        /* Stagger children within revealed sections */
        .section-reveal .reveal-child {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
        }

        .section-reveal.in-view .reveal-child {
            opacity: 1;
            transform: translateY(0);
        }

        .section-reveal.in-view .reveal-child:nth-child(1) { transition-delay: 0.1s; }
        .section-reveal.in-view .reveal-child:nth-child(2) { transition-delay: 0.2s; }
        .section-reveal.in-view .reveal-child:nth-child(3) { transition-delay: 0.3s; }
        .section-reveal.in-view .reveal-child:nth-child(4) { transition-delay: 0.4s; }

        /* ==========================================
           CUSTOM CURSOR
           ========================================== */
        .cursor {
            position: fixed;
            width: 20px;
            height: 20px;
            border: 2px solid var(--accent);
            border-radius: 50%;
            pointer-events: none;
            z-index: 9999;
            transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
            transform: translate(-50%, -50%);
        }

        .cursor.hover {
            width: 60px;
            height: 60px;
            background: rgba(255, 107, 157, 0.1);
            border-color: rgba(255, 107, 157, 0.5);
        }

        .cursor-dot {
            position: fixed;
            width: 6px;
            height: 6px;
            background: var(--accent);
            border-radius: 50%;
            pointer-events: none;
            z-index: 9999;
            transform: translate(-50%, -50%);
        }

        /* ==========================================
           NEW HERO SECTION
           ========================================== */
        .hero {
            height: 100vh;
            position: relative;
            overflow: hidden;
        }

        .hero-photo {
            position: fixed;
            top: 0;
            right: 0;
            width: 55%;
            height: 100vh;
            object-fit: cover;
            object-position: center 0;
            z-index: -1;
            transition: transform 0.1s ease-out;
        }

        .photo-glow {
            display: none;
        }


        .hero-content {
            position: relative;
            z-index: 10;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 0 8vw;
            max-width: 700px;
        }

        .hero-greeting {
            font-size: clamp(1rem, 1.8vw, 1.2rem);
            color: #888;
            margin-bottom: 0.5rem;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.8s ease 0.3s forwards;
        }

        .hero-greeting .vietnamese {
            color: var(--primary);
            font-weight: 600;
        }

        @keyframes fadeInUp {
            to { opacity: 1; transform: translateY(0); }
        }

        .hero-name {
            font-size: clamp(2rem, 4vw, 3.5rem);
            font-weight: 800;
            line-height: 1;
            letter-spacing: -0.02em;
            opacity: 0;
            transform: translateX(-30px);
            animation: slideIn 0.8s ease 0.5s forwards;
        }

        .hero-name .first {
            color: var(--primary);
        }

        .hero-name .last {
            color: var(--secondary);
        }

        @keyframes slideIn {
            to { opacity: 1; transform: translateX(0); }
        }

        .hero-role-wrapper {
            margin-top: 2rem;
            opacity: 0;
            animation: fadeInUp 0.6s ease 0.9s forwards;
        }

        .role-prefix {
            font-size: clamp(1rem, 2vw, 1.5rem);
            color: rgba(255, 255, 255, 0.7);
            font-weight: 500;
            display: block;
            margin-bottom: 0.5rem;
        }

        .hero-role {
            height: clamp(5rem, 12vw, 9rem);
            perspective: 500px;
            position: relative;
            display: inline-block;
            vertical-align: top;
        }

        .role-cube {
            position: relative;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .role-item {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            font-size: clamp(4rem, 10vw, 8rem);
            font-weight: 900;
            color: var(--primary);
            white-space: nowrap;
            backface-visibility: hidden;
        }

        /* Role article transition (a/an) */
        #role-article {
            display: inline-block;
            transition: opacity 0.4s ease-in-out;
        }

        #role-article.changing {
            opacity: 0;
        }

        /* Role modifier (e.g., "Vietnamese" before Cultural Specialist) */
        .role-modifier {
            color: var(--secondary);
            font-weight: 600;
            margin-left: 0.3em;
            opacity: 0;
            transition: opacity 0.5s ease-in-out;
        }

        .role-modifier.visible {
            opacity: 1;
        }

        /* Each face of the role cube - 5 faces, positioned for 90° rotation sequence
           Item 5 uses -450° (not -360°) to avoid overlap with item 1 at start */
        .role-item:nth-child(1) { transform: rotateX(0deg) translateZ(2.5rem); }
        .role-item:nth-child(2) { transform: rotateX(-90deg) translateZ(2.5rem); }
        .role-item:nth-child(3) { transform: rotateX(-180deg) translateZ(2.5rem); }
        .role-item:nth-child(4) { transform: rotateX(-270deg) translateZ(2.5rem); }
        .role-item:nth-child(5) { transform: rotateX(-450deg) translateZ(2.5rem); }

        .hero-credentials {
            font-size: 0.75rem;
            color: #555;
            margin-top: 2rem;
            border-left: 2px solid var(--primary);
            padding-left: 1rem;
            opacity: 0;
            animation: fadeInUp 0.6s ease 1.1s forwards;
        }

        .hero-credentials .hero-link {
            color: inherit;
            text-decoration: none;
            border-bottom: 1px dotted rgba(85, 85, 85, 0.4);
            transition: color 0.2s ease, border-color 0.2s ease;
        }
        .hero-credentials .hero-link:hover {
            color: var(--primary);
            border-bottom-color: var(--primary);
        }

        /* ===== BRIDGES SECTION - Smooth Hover ===== */
        .bridges-section {
            position: relative;
            z-index: 10;
            height: 100vh;
            overflow: hidden;
            margin-top: 80vh;
        }

        .bridges-header {
            position: absolute;
            top: 2rem;
            text-align: center;
            z-index: 10;
            width: 100%;
        }

        .bridges-eyebrow {
            font-size: 0.7rem;
            letter-spacing: 0.2em;
            color: #fff;
            font-family: 'Inter', monospace;
        }

        #bridges-scene {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 5;
        }

        .bridge-item {
            position: absolute;
            text-align: center;
            cursor: default;
            z-index: 10;
            opacity: 0.35;
            transition: all 0.5s ease-out;
        }

        .bridge-item .category {
            font-size: 0.5rem;
            color: #555;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            font-family: 'Inter', monospace;
            margin-bottom: 0.2rem;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .bridge-item .pair {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            white-space: nowrap;
            transition: all 0.4s ease;
        }

        .bridge-item .left {
            color: var(--primary);
            font-weight: 600;
            transition: all 0.4s ease;
        }
        .bridge-item .arrow {
            color: #333;
            transition: all 0.4s ease;
        }
        .bridge-item .right {
            color: var(--secondary);
            font-weight: 600;
            transition: all 0.4s ease;
        }

        .bridge-item .note {
            font-size: 0.75rem;
            color: #777;
            margin-top: 0.3rem;
            opacity: 0;
            max-height: 0;
            overflow: hidden;
            transition: all 0.4s ease;
            font-style: italic;
        }

        /* Hover/focused state */
        .bridge-item:hover,
        .bridge-item.focused {
            opacity: 1;
            z-index: 100;
            transform: translate(-50%, -50%) scale(1.3);
        }

        .bridge-item:hover .category,
        .bridge-item.focused .category {
            opacity: 1;
        }

        .bridge-item:hover .left,
        .bridge-item:hover .right,
        .bridge-item.focused .left,
        .bridge-item.focused .right {
            font-size: 6rem !important;
            font-weight: 900;
        }

        .bridge-item:hover .arrow,
        .bridge-item.focused .arrow {
            font-size: 3rem !important;
            background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .bridge-item:hover .note,
        .bridge-item.focused .note {
            opacity: 1;
            max-height: 3rem;
            font-size: clamp(1rem, 3vw, 1.5rem);
        }

        /* Visited state */
        .bridge-item.visited {
            opacity: 0.5;
        }

        @media (max-width: 768px) {
            .bridge-item:hover .left,
            .bridge-item:hover .right,
            .bridge-item.focused .left,
            .bridge-item.focused .right {
                font-size: 1.8rem;
            }
            .bridge-item:hover .arrow,
            .bridge-item.focused .arrow {
                font-size: 1.2rem;
            }
        }

        /* ==========================================
           NORTH STARS SECTION
           ========================================== */
        .north-stars {
            position: relative;
            z-index: 10;
            height: 400vh; /* Tall section to capture scroll */
            margin-top: 80vh; /* Gap after Hero */
        }

        .north-stars-content {
            position: sticky;
            top: 0;
            height: 100vh;
            padding: 10vh 8vw;
            display: flex;
            flex-direction: column;
            justify-content: center;
            box-sizing: border-box;
        }

        .north-stars-header {
            text-align: left;
            margin-bottom: 6vh;
            max-width: 100%;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .north-stars-header.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .north-stars-eyebrow {
            font-size: 0.85rem;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            color: var(--secondary);
            margin-bottom: 1rem;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .north-stars-eyebrow.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .north-stars-title {
            font-size: clamp(1.75rem, 4vw, 2.5rem);
            font-weight: 700;
            letter-spacing: -0.02em;
            margin-bottom: 1rem;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .north-stars-title.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .north-stars-text-wrapper {
            position: relative;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .north-stars-text-wrapper.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .north-stars-subtitle {
            font-size: clamp(1.5rem, 3vw, 2rem);
            max-width: 100%;
            margin: 0;
            line-height: 1.6;
            color: var(--text-dim);
        }

        .north-stars-subtitle a {
            color: var(--text-dim);
            text-decoration: none;
            border-bottom: none;
        }

        .north-stars-subtitle .accent {
            font-weight: 600;
        }

        /* Revealed overlay layer (clipped) */
        .north-stars-subtitle-revealed {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            font-size: clamp(1.5rem, 3vw, 2rem);
            max-width: 100%;
            margin: 0;
            line-height: 1.6;
            color: var(--text);
            clip-path: inset(0 0 100% 0);
        }

        .north-stars-subtitle-revealed a {
            color: var(--secondary);
            text-decoration: none;
            border-bottom: none;
        }

        .north-stars-subtitle-revealed a:hover {
            color: var(--primary);
        }

        .north-stars-subtitle-revealed .accent {
            color: var(--primary);
            font-weight: 600;
        }

        .north-stars-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 3rem;
            width: 100%;
        }

        .north-star-column {
            text-align: left;
            padding: 1rem 0;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .north-star-column.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* No CSS stagger - scroll position controls timing */

        .north-star-label {
            font-size: 1rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--secondary);
            margin-bottom: 0.25rem;
        }

        .north-star-title {
            font-size: clamp(1.75rem, 3vw, 2rem);
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        .north-star-units {
            display: flex;
            flex-direction: column;
            gap: 0;
        }

        .unit-item {
            font-size: 1.25rem;
            color: var(--text-muted);
            padding: 0;
            margin: 0;
            line-height: 1.3;
            letter-spacing: -0.02em;
        }

        .unit-item span {
            color: var(--text);
            font-weight: 600;
        }

        @media (max-width: 900px) {
            .north-stars-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 2rem;
            }
        }

        @media (max-width: 500px) {
            .north-stars-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            .north-star-column {
                padding: 1rem 0;
            }
        }

        /* ==========================================
           KARAOKE BRIDGE SECTION - Top-down gradient reveal
           ========================================== */
        .karaoke-bridge-section {
            min-height: 300vh;
            padding: 100vh 8vw 50vh;
            position: relative;
        }

        .karaoke-bridge-section .karaoke-container {
            max-width: 800px;
            margin: 0 auto;
            position: sticky;
            top: 25vh;
            z-index: 10;
        }

        .karaoke-bridge-section .karaoke-text {
            font-size: clamp(1.5rem, 3vw, 2rem);
            font-weight: 400;
            line-height: 1.8;
            position: relative;
        }

        /* Base dim text layer */
        .karaoke-bridge-section .karaoke-text {
            color: var(--text-dim);
        }

        /* Highlighted accent words */
        .karaoke-bridge-section .karaoke-text .accent {
            color: var(--text-dim);
            font-weight: 600;
        }

        /* Revealed state - applied via clip-path mask */
        .karaoke-bridge-section .karaoke-text-revealed {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            color: var(--text);
            clip-path: inset(0 0 100% 0);
        }

        .karaoke-bridge-section .karaoke-text-revealed .accent {
            color: var(--primary);
            font-weight: 600;
        }

        .bridge-photo-left,
        .bridge-photo-right {
            position: fixed;
            top: calc(50% + 50px);
            height: 120vh;
            width: auto;
            max-width: 35vw;
            object-fit: contain;
            object-position: center;
            opacity: 0;
            z-index: 1;
            pointer-events: none;
            transform: translateY(-50%);
        }

        .bridge-photo-left {
            left: 0;
        }

        .bridge-photo-right {
            right: 0;
        }

        @media (max-width: 1200px) {
            .bridge-photo-left,
            .bridge-photo-right {
                max-width: 25vw;
            }
        }

        @media (max-width: 900px) {
            .bridge-photo-left,
            .bridge-photo-right {
                max-width: 22vw;
            }
        }

        @media (max-width: 600px) {
            .bridge-photo-left,
            .bridge-photo-right {
                max-width: 18vw;
            }
        }

        /* Portrait mode: overlap images like a bridge */
        @media (orientation: portrait) {
            .bridge-photo-left,
            .bridge-photo-right {
                max-width: 55vw;
            }

            .bridge-photo-left {
                left: -5vw;
                z-index: 2;
            }

            .bridge-photo-right {
                right: -5vw;
                z-index: 1;
            }
        }

        /* Extra small portrait (phones) */
        @media (orientation: portrait) and (max-width: 500px) {
            .bridge-photo-left {
                left: -8vw;
            }

            .bridge-photo-right {
                right: -8vw;
            }
        }

        /* Mobile: show bridge photos with static opacity when section is visible */
        @media (max-width: 768px) {
            .bridge-photo-left.mobile-visible,
            .bridge-photo-right.mobile-visible {
                opacity: 0.7 !important;
            }
        }

        /* ==========================================
           KARAOKE CLOSING SECTION
           ========================================== */
        .closing-section {
            min-height: 200vh;
            padding: 80vh 8vw 30vh;
            position: relative;
        }

        .closing-content {
            max-width: 800px;
            margin: 0 auto;
            position: sticky;
            top: 25vh;
            text-align: center;
        }

        .closing-text-wrapper {
            position: relative;
            margin-bottom: 4rem;
        }

        .closing-text {
            font-size: clamp(1.75rem, 4vw, 2.5rem);
            font-weight: 800;
            line-height: 1.1;
            color: var(--text);
        }

        .closing-text .accent {
            color: var(--secondary);
            font-weight: 800;
        }

        .closing-text .muted {
            color: var(--text-muted);
        }

        .closing-text .highlight {
            color: var(--text);
            font-weight: 800;
        }

        .closing-flip {
            text-align: center;
        }

        .closing-prefix {
            display: block;
            margin-bottom: 0;
        }

        .closing-suffix {
            display: block;
            margin-top: 0;
        }

        .closing-role {
            display: inline-block;
            height: clamp(5rem, 12vw, 9rem);
            perspective: 500px;
            position: relative;
        }

        .closing-cube {
            position: relative;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .closing-item {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: clamp(4rem, 10vw, 8rem);
            font-weight: 900;
            color: var(--primary);
            backface-visibility: hidden;
            white-space: nowrap;
        }

        .closing-item:nth-child(1) { transform: rotateX(0deg) translateZ(2.5rem); }
        .closing-item:nth-child(2) { transform: rotateX(-90deg) translateZ(2.5rem); }
        .closing-item:nth-child(3) { transform: rotateX(-180deg) translateZ(2.5rem); }
        .closing-item:nth-child(4) { transform: rotateX(-270deg) translateZ(2.5rem); }

        .closing-tagline {
            margin-top: 1rem;
            font-size: clamp(1rem, 2vw, 1.25rem);
            font-weight: 500;
            color: var(--text-muted);
            line-height: 1.3;
        }

        .closing-buttons {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
        }

        .nav-btn {
            padding: 1rem 2rem;
            border: 1px solid var(--primary);
            border-radius: 8px;
            color: var(--primary);
            text-decoration: none;
            font-size: 1rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .nav-btn:hover {
            background: var(--primary);
            color: var(--bg);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
            text-shadow: none;
        }

        /* Different colors for each nav button */
        .nav-btn-apps {
            border-color: #ffcc00;
            color: #ffcc00;
        }
        .nav-btn-apps:hover {
            background: #ffcc00;
            box-shadow: 0 8px 25px rgba(255, 204, 0, 0.3);
        }

        .nav-btn-books {
            border-color: #ff3366;
            color: #ff3366;
        }
        .nav-btn-books:hover {
            background: #ff3366;
            box-shadow: 0 8px 25px rgba(255, 51, 102, 0.3);
        }

        .nav-btn-research {
            border-color: #3399ff;
            color: #3399ff;
        }
        .nav-btn-research:hover {
            background: #3399ff;
            box-shadow: 0 8px 25px rgba(51, 153, 255, 0.3);
        }

        .nav-btn-media {
            border-color: #9966ff;
            color: #9966ff;
        }
        .nav-btn-media:hover {
            background: #9966ff;
            box-shadow: 0 8px 25px rgba(153, 102, 255, 0.3);
        }

        .nav-btn-cv {
            border-color: #00ff66;
            color: #00ff66;
        }
        .nav-btn-cv:hover {
            background: #00ff66;
            box-shadow: 0 8px 25px rgba(0, 255, 102, 0.3);
        }

        .nav-btn-courses {
            border-color: #00ffff;
            color: #00ffff;
        }
        .nav-btn-courses:hover {
            background: #00ffff;
            box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
        }

        @media (max-width: 600px) {
            .closing-buttons {
                flex-direction: column;
                align-items: center;
            }
            .nav-btn {
                width: 100%;
                max-width: 200px;
                text-align: center;
            }
        }

        /* ==========================================
           FOOTER
           ========================================== */
        footer {
            padding: 4rem 5vw;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            text-align: center;
        }

        .footer-name {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
            margin-bottom: 1.5rem;
        }

        .footer-links a {
            color: var(--text);
            text-decoration: none;
            font-size: 0.875rem;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--accent);
        }

        .footer-copy {
            font-size: 0.75rem;
            color: var(--text-dim);
        }

        /* ==========================================
           MOBILE NAV
           ========================================== */
        .nav-mobile {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-around;
            padding: 1rem;
            background: rgba(7, 7, 9, 0.95);
            backdrop-filter: blur(20px);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            z-index: 100;
        }

        .nav-mobile a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.7rem;
            text-align: center;
            transition: color 0.3s;
        }

        .nav-mobile a:hover,
        .nav-mobile a.active {
            color: var(--accent);
        }

        .nav-mobile span {
            display: block;
            font-size: 1.25rem;
            margin-bottom: 0.25rem;
        }

        /* ==========================================
           DESKTOP NAV
           ========================================== */
        .nav-desktop {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            padding: 1.25rem 5vw;
            background: transparent;
            z-index: 1000;
        }

        .nav-desktop a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 500;
            transition: all 0.3s ease;
            background: rgba(7, 7, 9, 0.9);
            padding: 0.5rem 1rem;
            border-radius: 6px;
        }

        .nav-desktop a:hover,
        .nav-desktop a.active {
            color: var(--accent);
        }

        /* ==========================================
           RESPONSIVE
           ========================================== */
        @media (min-width: 1024px) {
            .nav-mobile { display: none; }
        }

        @media (max-width: 1023px) {
            .nav-desktop { display: none; }
        }

        /* ==========================================
           MOBILE & TABLET: Show everything normally
           ========================================== */
        @media (max-width: 1023px) {
            .cursor, .cursor-dot { display: none; }
            body { cursor: auto; }

            /* HERO SECTION - text at bottom of photo */
            .hero {
                position: relative !important;
                height: auto !important;
                min-height: 100vh !important;
            }

            .hero-photo {
                position: absolute !important;
                top: 0 !important;
                left: 0 !important;
                width: 100% !important;
                height: 100% !important;
                object-fit: cover !important;
                object-position: 70% top !important;
                z-index: 1 !important;
            }

            .hero-content {
                position: relative !important;
                z-index: 10 !important;
                padding: 4rem 5vw 6rem !important;
                max-width: 100% !important;
                background: linear-gradient(to bottom,
                    transparent 0%,
                    transparent 40%,
                    rgba(7, 7, 9, 0.5) 60%,
                    rgba(7, 7, 9, 0.85) 80%,
                    #070709 100%) !important;
                min-height: 100vh !important;
                display: flex !important;
                flex-direction: column !important;
                justify-content: flex-end !important;
            }

            /* ========================================
               NORTH STARS SECTION - First Principles
               ======================================== */
            .north-stars {
                height: auto !important;
                min-height: auto !important;
                margin-top: 0 !important;
                padding: 4rem 0 !important;
            }

            .north-stars-content {
                position: relative !important;
                height: auto !important;
                min-height: auto !important;
                padding: 0 5vw !important;
            }

            .north-stars-header {
                opacity: 1 !important;
                transform: none !important;
                margin-bottom: 2rem !important;
            }

            .north-stars-eyebrow {
                opacity: 1 !important;
                transform: none !important;
                display: block !important;
            }

            .north-stars-title {
                opacity: 1 !important;
                transform: none !important;
                display: block !important;
            }

            .north-stars-text-wrapper {
                opacity: 1 !important;
                transform: none !important;
                position: relative !important;
            }

            /* FIRST PRINCIPLES KARAOKE TEXT - Hide dim, show revealed */
            .north-stars-subtitle {
                display: none !important;
                visibility: hidden !important;
            }

            .north-stars-subtitle-revealed {
                position: relative !important;
                clip-path: none !important;
                display: block !important;
                opacity: 1 !important;
                visibility: visible !important;
                font-size: 1.1rem !important;
                color: #e8e8e8 !important;
            }

            .north-stars-subtitle-revealed .accent {
                color: var(--primary) !important;
            }

            .north-stars-subtitle-revealed a {
                color: var(--secondary) !important;
            }

            /* North Stars Grid - 4 columns on tablet */
            .north-stars-grid {
                display: grid !important;
                grid-template-columns: repeat(4, 1fr) !important;
                gap: 1.5rem !important;
            }

            .north-star-column {
                opacity: 1 !important;
                transform: none !important;
                display: block !important;
            }

            /* ========================================
               KARAOKE BRIDGE SECTION
               ======================================== */
            .karaoke-bridge-section {
                min-height: auto !important;
                height: auto !important;
                padding: 4rem 5vw !important;
            }

            .karaoke-bridge-section .karaoke-container {
                position: relative !important;
                top: auto !important;
            }

            /* Hide dim text, show revealed */
            .karaoke-bridge-section .karaoke-text {
                display: none !important;
                visibility: hidden !important;
            }

            .karaoke-bridge-section .karaoke-text-revealed {
                position: relative !important;
                clip-path: none !important;
                display: block !important;
                opacity: 1 !important;
                visibility: visible !important;
            }

            /* Show bridge photos on mobile/tablet - below text */
            .bridge-photo-left,
            .bridge-photo-right {
                position: relative !important;
                left: auto !important;
                right: auto !important;
                top: auto !important;
                width: 40% !important;
                max-width: 180px !important;
                height: auto !important;
                opacity: 1 !important;
                display: inline-block !important;
                margin: 1rem !important;
            }

            /* ========================================
               BRIDGES SECTION (subway map) - keep original behavior
               Just ensure section is visible, don't override JS animations
               ======================================== */
            .bridges-section {
                height: auto;
                min-height: 500px;
                overflow: visible;
            }

            /* ========================================
               CLOSING SECTION
               ======================================== */
            .closing-section {
                min-height: auto !important;
                height: auto !important;
                padding: 4rem 5vw !important;
            }

            .closing-content {
                position: relative !important;
                top: auto !important;
            }

            /* Show closing text and flip words on mobile/tablet */
            .closing-text {
                display: block !important;
                opacity: 1 !important;
            }

            .closing-flip {
                display: block !important;
            }

            .closing-role {
                display: inline-block !important;
            }

            .closing-cube {
                display: block !important;
            }

            .closing-item {
                display: block !important;
            }

            .closing-text-revealed {
                position: relative !important;
                clip-path: none !important;
                display: block !important;
                opacity: 1 !important;
            }

            /* Footer spacing */
            footer { padding-bottom: 100px; }
            .pillar, .featured-card { padding: 2rem 1.5rem; }
        }

        /* ==========================================
           TABLET-SPECIFIC (769px - 1023px)
           ========================================== */
        @media (min-width: 769px) and (max-width: 1023px) {
            /* Hero photo - show more of the subject on tablet */
            .hero-photo {
                object-position: 65% 20% !important;
            }

            /* Show all 4 North Star columns on tablet */
            .north-stars-grid {
                grid-template-columns: repeat(4, 1fr) !important;
                gap: 1rem !important;
            }

            .north-star-column {
                padding: 1rem;
            }

            .north-star-column h3 {
                font-size: 0.9rem !important;
            }

            .north-star-column p {
                font-size: 0.8rem !important;
            }
        }

        /* ==========================================
           PHONE-SPECIFIC (up to 768px)
           ========================================== */
        @media (max-width: 768px) {
            .hero-content {
                padding: 4rem 5vw 5rem !important;
            }

            .hero-name {
                font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
            }

            .role-item {
                font-size: clamp(2.5rem, 12vw, 4rem) !important;
            }

            /* Single column for North Stars on phone */
            .north-stars-grid {
                grid-template-columns: 1fr !important;
            }

            .north-star-column {
                padding: 1rem 0 !important;
            }

            /* Smaller text on phone */
            .north-stars-title {
                font-size: clamp(1.5rem, 6vw, 2rem) !important;
            }

            .north-stars-subtitle-revealed {
                font-size: 0.95rem !important;
            }
        }

        /* Footer */
        .site-footer { margin-top: 4rem; padding: 2rem 5vw; border-top: 1px solid rgba(255, 255, 255, 0.08); text-align: center; }
        .footer-contact { margin: 1rem auto; max-width: 400px; }
        .footer-contact-btn { display: inline-block; padding: 0.75rem 1.5rem; background: transparent; border: 1px solid var(--accent); border-radius: 8px; color: var(--accent); font-weight: 500; font-size: 0.85rem; text-decoration: none; cursor: pointer; transition: all 0.3s ease; }
        .footer-contact-btn:hover { background: var(--accent); color: #000; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255, 128, 0, 0.3); }
        .footer-social { display: flex; justify-content: center; gap: 1.5rem; margin: 1.5rem 0; }
        .footer-social a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.3s ease; }
        .footer-social a:hover { color: var(--accent); }
        .social-icon { width: 20px; height: 20px; opacity: 0.5; transition: opacity 0.3s ease; }
        .footer-social a:hover .social-icon { opacity: 1; }
        .footer-copyright { font-size: 0.75rem; color: var(--text-muted); margin-top: 1rem; }
        .footer-credit { font-size: 0.65rem; color: #555; margin-top: 0.5rem; letter-spacing: 0.02em; }
