.site-footer{
        position:fixed;
        bottom:0;
        left:0;
        width:100%;
        z-index:1000;
        box-sizing:border-box;
        color:#111;
        text-align:center;
        padding:8px 15px;
        font-size:14px;
        direction:ltr;
        font-family:'OnMedium',sans-serif;
    }

    .footer-content-wrapper{
        display:flex;
        justify-content:center;
        align-items:center;
        flex-wrap:wrap;
        gap:8px;
    }

    /* =========================
       DESKTOP
    ========================= */

    .desktop-footer{
        display:flex;
        justify-content:center;
        align-items:center;
        flex-wrap:wrap;
    }
    .dev-wrapper{
        display:inline-flex;
        align-items:center;
        position:relative;
        justify-content:center;
        margin-left:4px;
    }

    .dev-name{
        appearance:none;
        border:0;
        padding:0;
        background:transparent;
        color:#f39c12;
        font-family:'OnNormal',sans-serif;
        font-size:inherit;
        line-height:inherit;
        cursor:pointer;
        transition:color .25s ease, transform .25s ease;
    }

    .dev-name:hover,
    .dev-name:focus-visible{
        color:#e67e22;
        outline:none;
        transform:translateY(-1px);
    }


    /* First desktop step: small orange notification square. */
    .desktop-contact-ping{
        position:fixed;
        right:clamp(90px, 10vw, 170px);
        bottom:72px;
        z-index:100002;

        width:24px;
        height:24px;
        padding:0;

        display:grid;
        place-items:center;

        border:0;
        border-radius:0;
        background:#ef7911;
        color:#fff;
        box-shadow:0 8px 22px rgba(0,0,0,.10);

        opacity:0;
        visibility:hidden;
        pointer-events:none;

        transform:translate3d(10px,10px,0) scale(.72);
        transform-origin:center bottom;

        cursor:pointer;

        transition:
                opacity .22s ease,
                visibility 0s linear .22s,
                transform .32s cubic-bezier(.16,1,.3,1);
    }

    .desktop-contact-ping::after{
        content:"";
        width:4px;
        height:4px;
        background:#fff;
    }

    .desktop-contact-ping.active{
        opacity:1;
        visibility:visible;
        pointer-events:auto;
        transform:translate3d(0,0,0) scale(1);

        /*
         * Bell-like reminder:
         * a short shake, then a quiet pause.
         * Repeats every few seconds while the square is visible.
         */
        animation:sooDeveloperBell 4.2s ease-in-out .15s infinite;

        transition:
                opacity .22s ease,
                visibility 0s,
                transform .32s cubic-bezier(.16,1,.3,1);
    }

    .desktop-contact-ping:hover,
    .desktop-contact-ping:focus-visible{
        outline:none;
        transform:translate3d(0,-2px,0) scale(1.04);
    }

    @keyframes sooDeveloperBell{
        0%, 22%, 100%{
            transform:translate3d(0,0,0) rotate(0deg) scale(1);
        }

        3%{
            transform:translate3d(-2px,0,0) rotate(-10deg) scale(1.03);
        }

        6%{
            transform:translate3d(3px,0,0) rotate(12deg) scale(1.03);
        }

        9%{
            transform:translate3d(-3px,0,0) rotate(-9deg) scale(1.03);
        }

        12%{
            transform:translate3d(2px,0,0) rotate(7deg) scale(1.02);
        }

        15%{
            transform:translate3d(-1px,0,0) rotate(-4deg) scale(1.01);
        }

        18%{
            transform:translate3d(0,0,0) rotate(0deg) scale(1);
        }
    }

    /* Desktop developer note — letter / notification motion */
    .desktop-contact-note{
        position:fixed;
        right:22px;
        bottom:58px;
        z-index:100001;

        width:min(320px, calc(100vw - 44px));
        min-height:178px;
        padding:28px 28px 24px;

        background:#fff;
        color:#111;
        border:1px solid rgba(17,17,17,.10);
        box-shadow:0 18px 48px rgba(0,0,0,.10);

        opacity:0;
        visibility:hidden;
        pointer-events:none;

        transform:translate3d(34px,30px,0) scale(.985);
        transform-origin:bottom right;

        transition:
                opacity .28s ease,
                visibility 0s linear .28s,
                transform .46s cubic-bezier(.16,1,.3,1);
    }

    .desktop-contact-note.active{
        opacity:1;
        visibility:visible;
        pointer-events:auto;
        text-align: center;
        transform:translate3d(0,0,0) scale(1);

        transition:
                opacity .28s ease,
                visibility 0s,
                transform .46s cubic-bezier(.16,1,.3,1);
    }

    /* folded note corner */
    .desktop-contact-note::before{
        content:"";
        position:absolute;
        top:0;
        right:0;
        width:0;
        height:0;
        border-top:48px solid #ef7911;
        border-left:48px solid transparent;
        pointer-events:none;
    }

    .desktop-contact-note::after{
        content:"";
        position:absolute;
        top:11px;
        right:11px;
        width:5px;
        height:5px;
        background:#fff;
        pointer-events:none;
    }

    .desktop-contact-note__label{
        margin:0 0 9px;
        color:#9a9a9a;
        font-family:'OnMedium',sans-serif;
        font-size:10px;
        line-height:1;
        letter-spacing:.18em;
        text-transform:uppercase;
    }

    .desktop-contact-note__name{
        margin:0 34px 20px 0;
        color:#111;
        font-family:'OnMedium',sans-serif;
        font-size:18px;
        line-height:1.2;
        font-weight:300;
    }

    .desktop-contact-note__links{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 9px;
        text-align: center;
        justify-content: flex-start;

    }

    .desktop-contact-note__links a{
        color:#555;
        text-decoration:none;
        font-family:'OnNormal',sans-serif;
        font-size:14px;
        line-height:1.35;
        transition:color .2s ease, transform .2s ease;
    }

    .desktop-contact-note__links a:hover,
    .desktop-contact-note__links a:focus-visible{
        color:#ef7911;
        outline:none;
        transform:translateX(3px);
    }

    .desktop-contact-note__close{
        position:absolute;
        left:18px;
        top:16px;
        width:28px;
        height:28px;
        padding:0;
        display:grid;
        place-items:center;
        border:0;
        background:transparent;
        color:#999;
        font-family:'OnNormal',sans-serif;
        font-size:20px;
        line-height:1;
        cursor:pointer;
        transition:color .2s ease, transform .2s ease;
    }

    .desktop-contact-note__close:hover,
    .desktop-contact-note__close:focus-visible{
        color:#ef7911;
        outline:none;
        transform:rotate(5deg);
    }

    /* =========================
       MOBILE FOOTER
    ========================= */

    .mobile-footer{
        display:none;
        justify-content:center;
        align-items:center;
        gap:7px;
        white-space:nowrap;
    }

    .mobile-designer{
        color:#f39c12;
        font-family:'OnNormal',sans-serif;
        cursor:pointer;
        transition:color .3s ease;
    }

    .mobile-designer:hover{
        color:#e67e22;
    }

    .mobile-separator{
        color:#666;
    }

    /* =========================
       MOBILE MODAL
       Exact center + flat square + orange corner
    ========================= */

    .contact-modal{
        position:fixed;
        inset:0;
        display:flex;
        align-items:center;
        justify-content:center;

        background:rgba(17,17,17,.16);
        backdrop-filter:blur(5px);
        -webkit-backdrop-filter:blur(5px);

        opacity:0;
        visibility:hidden;
        pointer-events:none;

        transition:
                opacity .28s ease,
                visibility 0s linear .28s;

        z-index:100000;
    }

    .contact-modal.active{
        opacity:1;
        visibility:visible;
        pointer-events:auto;

        transition:
                opacity .28s ease,
                visibility 0s;
    }

    .contact-box{
        position:relative;

        width:min(230px, 70vw);
        aspect-ratio:1 / 1;

        box-sizing:border-box;
        padding:38px 22px 26px;

        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:14px;

        background:#fff;
        color:#111;

        /* Flat look */
        border:1px solid rgba(17,17,17,.08);
        border-radius:0;
        box-shadow:none;

        text-align:center;
        font-family:'OnMedium',sans-serif;

        overflow:hidden;

        transform:scale(.965);
        opacity:.96;

        transition:
                transform .32s cubic-bezier(.22,1,.36,1),
                opacity .25s ease;
    }

    /* Orange folded/cut corner */
    .contact-box::before{
        content:"";
        position:absolute;
        top:0;
        right:0;
        width:0;
        height:0;
        border-top:42px solid #ef7911;
        border-left:42px solid transparent;
        pointer-events:none;
    }

    /* Small orange square/detail inside the corner */
    .contact-box::after{
        content:"";
        position:absolute;
        top:10px;
        right:10px;
        width:5px;
        height:5px;
        background:#fff;
        pointer-events:none;
    }

    .contact-modal.active .contact-box{
        transform:scale(1);
        opacity:1;
    }

    .contact-name{
        color:#111;
        font-size:14px;
        line-height:1.35;
        margin:0 0 2px;
        font-family:'OnMedium',sans-serif;
    }

    .contact-box a{
        display:block;
        margin:0;
        color:#111;
        text-decoration:none;
        font-size:13px;
        line-height:1.4;
        font-family:'OnNormal',sans-serif;
        transition:color .2s ease;
    }

    .contact-box a:hover,
    .contact-box a:focus-visible{
        color:#ef7911;
        outline:none;
    }

    .contact-box .instagram-link{
        color:#ef7911;
        letter-spacing:.08em;
    }

    /* =========================
       RESPONSIVE
    ========================= */

    /* Hard desktop/mobile separation. */
    @media (min-width:768px){
        .desktop-footer{
            display:flex!important;
        }

        .mobile-footer{
            display:none!important;
        }

        /* Mobile-only contact modal must not exist visually on desktop. */
        .contact-modal{
            display:none!important;
        }

        .desktop-contact-note{
            display:block;
        }

        .desktop-contact-ping{
            display:grid;
        }
    }

    @media (max-width:767px){

        .site-footer{
            padding:8px 10px;
            font-size:11px;
        }

        .desktop-footer{
            display:none!important;
        }

        .desktop-contact-note,
        .desktop-contact-ping{
            display:none!important;
        }

        .mobile-footer{
            display:flex!important;
        }

        .contact-modal{
            /* Keeps it in the visual center of the viewport */
            align-items:center !important;
            justify-content:center !important;
            padding:18px;
            box-sizing:border-box;
        }

        .contact-box{
            width:min(220px, 68vw);
            max-width:220px;
            min-width:190px;
        }
    }
