    html {
        overflow-x: hidden;
    }

    /* --- CONFIGURAZIONE VISIVA --- */
    :root {
        --bg: #080808;
        --card-bg: #111111;
        --text: #ffffff;
        --text-dim: #777777;

        /* PALETTE GIALLO / GOLD */
        --neon-yellow: #FFD60A;
        --neon-amber: #FF9F0A;
        --gradient: linear-gradient(135deg, var(--neon-yellow), var(--neon-amber));

        --font: 'Instrument Sans', sans-serif;
        --easing: cubic-bezier(0.16, 1, 0.3, 1);
    }

    * {
        box-sizing: border-box;
        cursor: none;
    }

    body {
        margin: 0;
        background-color: var(--bg);
        color: var(--text);
        font-family: var(--font);
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
    }

    /* --- CUSTOM CURSOR --- */
    .cursor-dot, .cursor-outline {
        position: fixed;
        top: 0;
        left: 0;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        z-index: 9999;
        pointer-events: none;
    }

    .cursor-dot {
        width: 8px;
        height: 8px;
        background: var(--neon-yellow);
    }

    .cursor-outline {
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        transition: width 0.2s, height 0.2s, background-color 0.2s;
    }

    body.hovering .cursor-outline {
        width: 60px;
        height: 60px;
        background: rgba(255, 214, 10, 0.1);
        border-color: var(--neon-yellow);
    }

    /* --- TYPOGRAPHY & LAYOUT --- */
    h1, h2, h3 {
        margin: 0;
        font-weight: 600;
        letter-spacing: -0.03em;
    }

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

    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 5vw;
    }

    /* --- NAVBAR --- */
    nav {
        padding: 30px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 100;
        position: relative;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        margin-bottom: 0;
    }

    .nav-left {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .logo {
        font-size: 1.1rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    .nav-links {
        display: flex;
        gap: 30px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-links a {
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--text-dim);
        transition: color 0.3s;
        position: relative;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 0;
        width: 0%;
        height: 1px;
        background: var(--neon-yellow);
        transition: 0.4s var(--easing);
    }

    .nav-links a:hover {
        color: #fff;
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .whatsapp-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        background: var(--neon-yellow);
        color: #000 !important;
        font-size: 0.8rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        padding: 10px 20px;
        border-radius: 100px;
        transition: background 0.3s, transform 0.3s;
        cursor: none;
    }

    .whatsapp-btn:hover {
        background: var(--neon-amber);
        transform: scale(1.03);
    }

    .contact-link {
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--text-dim);
        position: relative;
        transition: color 0.3s;
    }

    .contact-link:hover {
        color: #fff;
    }

    .contact-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0%;
        height: 1px;
        background: var(--neon-yellow);
        transition: 0.4s var(--easing);
    }

    .contact-link:hover::after {
        width: 100%;
    }

    @media(max-width: 768px) {
        .nav-links { display: none; }
        .whatsapp-btn span { display: none; }
        .whatsapp-btn { padding: 10px 14px; }
    }

    /* --- HERO SECTION --- */
    .hero {
        height: 90vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
    }

    .hero h1 {
        font-size: clamp(4rem, 11vw, 10rem);
        line-height: 0.9;
        margin-left: -0.3vw;
        background: linear-gradient(to bottom, #fff 0%, #555 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        opacity: 0;
        animation: fadeInUp 1s var(--easing) 0.2s forwards;
    }

    .hero-sub {
        margin-top: 30px;
        display: flex;
        gap: 40px;
        color: var(--text-dim);
        font-size: clamp(1rem, 1.5vw, 1.2rem);
        opacity: 0;
        animation: fadeInUp 1s var(--easing) 0.5s forwards;
    }

    .hero-sub p {
        margin: 0;
        position: relative;
        padding-left: 16px;
    }

    .hero-sub p::before {
        content: '—';
        position: absolute;
        left: 0;
        color: var(--neon-yellow);
        font-size: 0.8em;
    }

    .scroll-indicator {
        position: absolute;
        bottom: 50px;
        right: 0;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.25em;
        color: var(--text-dim);
        animation: pulse 2s infinite;
        writing-mode: vertical-rl;
    }

    /* --- SERVICES SECTION --- */
    .services-section {
        padding: 100px 0;
        border-top: 1px solid #1a1a1a;
    }

    .services-header {
        margin-bottom: 60px;
    }

    .services-header h2 {
        font-size: clamp(2rem, 4vw, 3.5rem);
        margin-top: 16px;
        color: #fff;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1px;
        background: #1a1a1a;
        border: 1px solid #1a1a1a;
        border-radius: 12px;
        overflow: hidden;
    }

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

    @media(max-width: 500px) {
        .services-grid { grid-template-columns: 1fr; }
    }

    .service-card {
        background: var(--bg);
        padding: 40px 30px;
        transition: background 0.4s;
        position: relative;
        overflow: hidden;
    }

    .service-card::after {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient);
        opacity: 0;
        transition: opacity 0.4s;
    }

    .service-card:hover {
        background: #111;
    }

    .service-card:hover::after {
        opacity: 0.04;
    }

    .service-icon {
        display: block;
        margin-bottom: 20px;
        line-height: 0;
    }

    .service-icon svg {
        width: 36px;
        height: 36px;
        display: block;
        color: var(--neon-yellow);
        flex-shrink: 0;
    }

    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
        color: #fff;
        letter-spacing: -0.01em;
    }

    .service-card p {
        font-size: 0.9rem;
        color: var(--text-dim);
        line-height: 1.6;
        margin: 0;
    }

    .service-badge {
        display: inline-block;
        margin-top: 18px;
        padding: 4px 12px;
        border: 1px solid rgba(255, 214, 10, 0.3);
        border-radius: 100px;
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--neon-yellow);
    }

    /* --- PROJECT SECTION --- */
    .project-section {
        padding: 80px 0 100px;
        border-top: 1px solid #1a1a1a;
    }

    .project-header {
        margin-bottom: 60px;
    }

    .project-number {
        font-size: 0.75rem;
        color: var(--neon-yellow);
        text-transform: uppercase;
        letter-spacing: 0.25em;
        margin-bottom: 10px;
        display: block;
    }

    .project-title {
        font-size: clamp(3rem, 8vw, 6rem);
        line-height: 0.9;
        font-weight: 700;
        letter-spacing: -0.02em;
        margin-bottom: 12px;
        color: #fff;
    }

    .project-subtitle {
        font-size: clamp(1rem, 2vw, 1.3rem);
        color: var(--neon-amber);
        text-transform: uppercase;
        letter-spacing: 0.1em;
        margin: 0;
    }

    .project-content {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 60px;
        align-items: start;
    }

    @media(max-width: 1024px) {
        .project-content {
            grid-template-columns: 1fr;
            gap: 40px;
        }
    }

    .project-text {
        font-size: 1.05rem;
        line-height: 1.7;
        color: #aaa;
        position: sticky;
        top: 40px;
    }

    .project-text p {
        margin-bottom: 20px;
    }

    .highlight-text {
        font-size: 1.4rem;
        color: #fff;
        font-weight: 500;
        border-left: 3px solid var(--neon-yellow);
        padding-left: 20px;
        margin-bottom: 24px !important;
    }

    /* Stile per immagine singola di copertina progetto */
    .project-single-media {
        width: 100%;
        height: 100%;
        min-height: 400px;
    }

    .single-cover-link {
        display: block;
        width: 100%;
        height: 100%;
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,0.05);
    }

    .single-cover-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s var(--easing), filter 0.7s var(--easing);
        filter: grayscale(100%);
    }

    .single-cover-link:hover .single-cover-img {
        transform: scale(1.03);
        filter: grayscale(0%);
    }

    .single-overlay {
        background: rgba(255, 214, 10, 0.9);
        color: #000;
        top: 50%;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition: opacity 0.3s;
        white-space: nowrap;
        font-weight: 700;
    }

    .single-cover-link:hover .single-overlay {
        opacity: 1;
    }

    /* --- REELS GRID --- */
    .reels-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    @media(max-width: 1024px) {
        .reels-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media(max-width: 600px) {
        .reels-grid {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            padding-bottom: 20px;
            gap: 15px;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-x: contain;
        }

        .reel-card {
            min-width: 220px;
            scroll-snap-align: center;
        }
    }

    .reel-card {
        display: block;
        position: relative;
        aspect-ratio: 9/16;
        border-radius: 12px;
        overflow: hidden;
        background: var(--card-bg);
        transition: transform 0.4s var(--easing), border-color 0.3s;
        border: 1px solid rgba(255,255,255,0.04);
    }

    .reel-card:hover {
        transform: translateY(-8px);
        border-color: var(--neon-yellow);
        box-shadow: 0 20px 40px -15px rgba(255, 214, 10, 0.2);
    }

    .reel-media {
        width: 100%;
        height: 100%;
        position: relative;
    }

    .reel-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s var(--easing);
        filter: grayscale(70%);
    }

    .reel-card:hover .reel-media img {
        transform: scale(1.08);
        filter: grayscale(0%);
    }

    .reel-overlay {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 10;
        background: rgba(0,0,0,0.7);
        backdrop-filter: blur(8px);
        padding: 4px 10px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .reel-icon {
        font-size: 0.65rem;
        font-weight: 700;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .reel-info {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 20px 16px 16px;
        background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
        transform: translateY(100%);
        transition: transform 0.4s var(--easing);
    }

    @media(max-width: 768px) {
        .reel-info { transform: translateY(0); }
    }

    .reel-card:hover .reel-info {
        transform: translateY(0);
    }

    .reel-info h4 {
        font-size: 1rem;
        margin-bottom: 2px;
        color: #fff;
    }

    .reel-info span {
        font-size: 0.75rem;
        color: var(--neon-amber);
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    /* --- WORK GRID --- */
    .works-section {
        padding: 100px 0;
        border-top: 1px solid #1a1a1a;
    }

    .section-label {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.25em;
        color: var(--neon-yellow);
        margin-bottom: 40px;
        display: block;
    }

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

    @media(max-width: 768px) {
        .grid {
            grid-template-columns: 1fr;
        }
    }

    .card {
        position: relative;
    }

    @media(min-width: 769px) {
        .card:nth-child(even) {
            transform: translateY(80px);
        }
    }

    .card-media {
        width: 100%;
        aspect-ratio: 16/9;
        background: var(--card-bg);
        overflow: hidden;
        border-radius: 8px;
        position: relative;
    }

    .card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s var(--easing), filter 0.7s var(--easing);
        filter: grayscale(100%) contrast(1.1);
    }

    .card:hover .card-media img {
        transform: scale(1.05);
        filter: grayscale(0%) contrast(1);
    }

    .card-info {
        padding-top: 20px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .card-title {
        font-size: 1.4rem;
        margin-bottom: 5px;
    }

    .card-tags {
        font-size: 0.85rem;
        color: var(--text-dim);
    }

    .view-btn {
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
        flex-shrink: 0;
    }

    .card:hover .view-btn {
        background: var(--neon-yellow);
        border-color: var(--neon-yellow);
        color: #000;
    }

    /* --- APPROCCIO / SKILLS --- */
    .skills-section {
        padding: 150px 0;
        border-top: 1px solid #1a1a1a;
    }

    .big-statement {
        font-size: clamp(2rem, 4vw, 3.5rem);
        line-height: 1.1;
        max-width: 900px;
        margin-bottom: 60px;
    }

    .big-statement span {
        color: var(--text-dim);
    }

    .skills-list {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    .skill-tag {
        padding: 10px 20px;
        border: 1px solid #2a2a2a;
        border-radius: 100px;
        font-size: 0.85rem;
        transition: 0.3s;
    }

    .skill-tag:hover {
        border-color: var(--neon-amber);
        background: rgba(255, 159, 10, 0.08);
        color: var(--neon-amber);
    }

    /* --- FOOTER / CONTACT --- */
    footer {
        padding: 100px 0 60px;
        border-top: 1px solid #1a1a1a;
    }

    .footer-cta h2 {
        font-size: clamp(3rem, 8vw, 6rem);
        text-transform: uppercase;
        line-height: 0.9;
        margin-bottom: 40px;
        transition: color 0.3s, -webkit-text-stroke 0.3s;
    }

    .footer-cta h2:hover {
        -webkit-text-stroke: 1px #fff;
        color: transparent;
        cursor: none;
    }

    .footer-contact-row {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        align-items: center;
        margin-top: 30px;
    }

    .email-link {
        font-size: 1.1rem;
        color: var(--neon-yellow);
        border-bottom: 1px solid rgba(255, 214, 10, 0.4);
        padding-bottom: 4px;
        transition: border-color 0.3s;
    }

    .email-link:hover {
        border-color: var(--neon-yellow);
    }

    .wa-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 1.1rem;
        color: #aaa;
        border-bottom: 1px solid transparent;
        padding-bottom: 4px;
        transition: color 0.3s, border-color 0.3s;
    }

    .wa-link:hover {
        color: #fff;
        border-color: #555;
    }

    .footer-bottom {
        margin-top: 80px;
        padding-top: 30px;
        border-top: 1px solid #1a1a1a;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 16px;
        font-size: 0.8rem;
        color: #444;
    }

    .footer-bottom .legal {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .footer-bottom a {
        color: #666;
        transition: color 0.3s;
    }

    .footer-bottom a:hover {
        color: #aaa;
    }

    .footer-social {
        display: flex;
        gap: 20px;
        align-items: flex-end;
    }

    /* -- STATISTICS --- */
    .impact-section {
        padding: 80px 0;
        border-top: 1px solid #1a1a1a;
        border-bottom: 1px solid #1a1a1a;
        background: radial-gradient(circle at center, #111 0%, var(--bg) 100%);
    }

    .impact-grid {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-around;
        text-align: center;
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-item {
        flex: 1;
        min-width: 200px;
    }

    .stat-number {
        font-size: clamp(2.5rem, 5vw, 4rem);
        font-weight: 700;
        color: var(--text);
        font-feature-settings: "tnum";
        line-height: 1;
        margin-bottom: 10px;
    }

    .stat-number::after {
        content: '+';
        color: var(--neon-yellow);
        font-size: 2rem;
        vertical-align: super;
    }

    .stat-label {
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        color: var(--text-dim);
    }

    @media(max-width: 600px) {
        .impact-grid { flex-direction: column; }
        .impact-section { padding: 60px 20px; }
    }

    /* --- LIGHTBOX --- */
    .lightbox {
        position: fixed;
        inset: 0;
        z-index: 10000;
        background: rgba(0,0,0,0.97);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s var(--easing);
    }

    .lightbox.active {
        opacity: 1;
        pointer-events: all;
    }

    .lightbox-wrapper {
        width: 90%;
        max-width: 1400px;
        aspect-ratio: 16/9;
        position: relative;
    }

    .close-btn {
        position: absolute;
        top: -44px;
        right: 0;
        color: white;
        font-size: 0.85rem;
        cursor: pointer;
        letter-spacing: 3px;
        text-transform: uppercase;
        opacity: 0.6;
        transition: opacity 0.2s;
    }

    .close-btn:hover { opacity: 1; }

    /* --- ANIMATIONS --- */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(40px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes pulse {
        0%, 100% { opacity: 0.4; }
        50% { opacity: 1; }
    }

    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: 1s var(--easing);
    }

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* ============================================
       MOBILE RESPONSIVE — fino a 768px
    ============================================ */
    @media(max-width: 768px) {

        /* Disabilita cursore custom su touch */
        * { cursor: auto !important; }
        .cursor-dot, .cursor-outline { display: none !important; }

        /* Navbar */
        nav {
            padding: 16px 0;
        }
        .logo {
            font-size: 0.9rem;
        }

        /* Hero */
        .hero {
            height: 80vh;
            min-height: 480px;
        }
        .hero h1 {
            font-size: clamp(1.4rem, 7.5vw, 2.8rem);
        }
        .hero-sub {
            margin-top: 16px;
            gap: 16px;
            font-size: 0.9rem;
            flex-wrap: wrap;
        }
        .scroll-indicator {
            writing-mode: horizontal-tb;
            bottom: 24px;
            right: 0;
            font-size: 0.65rem;
        }

        /* Services */
        .services-section {
            padding: 60px 0;
        }
        .services-header h2 {
            font-size: clamp(1.6rem, 7vw, 2.5rem);
        }
        .service-card {
            padding: 28px 22px;
        }
        .service-icon {
            font-size: 1.6rem;
            margin-bottom: 14px;
        }

        /* Projects */
        .project-section {
            padding: 60px 0 70px;
        }
        .project-title {
            font-size: clamp(2.4rem, 12vw, 4rem);
        }
        .project-subtitle {
            font-size: 0.9rem;
        }
        .project-text {
            position: static; /* rimuovi sticky su mobile */
            font-size: 1rem;
        }
        .highlight-text {
            font-size: 1.15rem;
        }
        .project-header {
            margin-bottom: 32px;
        }
        .project-single-media {
            min-height: 260px;
        }

        /* Works */
        .works-section {
            padding: 60px 0;
        }
        .card-title {
            font-size: 1.2rem;
        }

        /* Stats */
        .impact-section {
            padding: 50px 20px;
        }
        .stat-item {
            min-width: 130px;
        }

        /* Approccio */
        .skills-section {
            padding: 70px 0;
            margin-top: 0;
        }
        .big-statement {
            font-size: clamp(1.5rem, 6vw, 2.2rem);
            margin-bottom: 32px;
        }
        .skills-list {
            gap: 10px;
        }
        .skill-tag {
            padding: 8px 16px;
            font-size: 0.8rem;
        }

        /* Footer */
        footer {
            padding: 70px 0 40px;
        }
        .footer-cta h2 {
            font-size: clamp(2.2rem, 10vw, 4rem);
        }
        .footer-contact-row {
            flex-direction: column;
            gap: 14px;
        }
        .email-link, .wa-link {
            font-size: 0.95rem;
        }
        .footer-bottom {
            flex-direction: column;
            gap: 10px;
        }
        .footer-social {
            align-items: flex-start;
        }
    }

    /* ============================================
       SMALL MOBILE — fino a 400px
    ============================================ */
    @media(max-width: 400px) {

        .container {
            padding: 0 4vw;
        }
        .hero h1 {
            font-size: clamp(2.6rem, 18vw, 3.8rem);
        }
        .whatsapp-btn {
            padding: 8px 12px;
        }
        .project-title {
            font-size: clamp(2rem, 14vw, 3rem);
        }
        .services-grid {
            grid-template-columns: 1fr;
        }
        .service-card {
            padding: 22px 18px;
        }
        .nav-left {
            gap: 20px;
        }
    }