/* =========================================================
   THE QUENDEVS
   ========================================================= */


/* ---------- Global safety nets (all sizes) ---------- */
html { -webkit-text-size-adjust: 100%; }
img, video, svg, iframe { max-width: 100%; }
body { overflow-x: hidden; }


/* =========================================================
   1100px — Small laptops / large tablets
   ========================================================= */
@media screen and (max-width: 1100px) {
    .hero h1 { font-size: 3.8rem; }
    .section-title { font-size: 2.6rem; }

    .footer-glass { padding: 3rem 2.5rem 1rem; margin: 2rem 1rem; }
    .contact-box { padding: 3rem; gap: 3rem; }

}

@media screen and (max-width: 900px) {
    .navbar.glass-panel .hamburger {
        display: flex;
    }

    .navbar.glass-panel .nav-links {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        margin: 0;
        padding: 0.75rem;
        background: rgba(18, 12, 15, 0.96);
        border: 1px solid rgba(199, 203, 209, 0.22);
        border-radius: 24px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
    }

    .navbar.glass-panel .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .navbar.glass-panel .nav-links li,
    .navbar.glass-panel .nav-links li:nth-child(n + 4) {
        display: block;
        width: 100%;
    }

    .navbar.glass-panel .nav-links a {
        display: block;
        padding: 0.85rem 1rem;
        color: #d7dbe1;
        font-size: 1rem;
        white-space: normal;
    }

    .navbar.glass-panel .nav-actions .btn-nav-outline {
        display: none;
    }
}

@media screen and (min-width: 901px) {
    .navbar .brand {
        position: relative;
        width: 168px;
        height: 46px;
        overflow: hidden;
        flex: 0 0 168px;
    }

    .navbar .logo {
        position: absolute;
        top: -20px;
        left: 0;
        width: 168px;
        max-width: none;
        height: auto;
        filter: drop-shadow(0 0 7px rgba(220, 54, 72, 0.24));
    }
}

@media screen and (max-width: 900px) {
    .navbar .brand {
        position: relative;
        width: 128px;
        height: 38px;
        overflow: hidden;
        flex: 0 0 128px;
    }

    .navbar .logo {
        position: absolute;
        top: -15px;
        left: 0;
        width: 128px;
        max-width: none;
        height: auto;
        filter: drop-shadow(0 0 6px rgba(220, 54, 72, 0.24));
    }
}


/* =========================================================
   1024px — Tablets (landscape)
   ========================================================= */
@media screen and (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }

    .grid-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
    .grid-layout-2col { grid-template-columns: 1fr; gap: 3rem; }

    .contact-box {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .dashboard-main {
        grid-template-columns: 1fr;
        margin: 1rem;
    }
}


/* =========================================================
   900px — Tablets (portrait)
   ========================================================= */
@media screen and (max-width: 900px) {
    .navbar {
        top: calc(env(safe-area-inset-top, 0px) + 0.75rem);
        width: 94%;
    }

    .nav-container { padding: 0.55rem 1.1rem; position: static; }
    .logo { height: 44px; }

    .hamburger {
        display: flex;
        padding: 10px 6px;           
        margin-right: -6px;
        -webkit-tap-highlight-color: transparent;
    }
    .hamburger span { transition: transform 0.3s ease, opacity 0.3s ease; }

    .nav-container:has(.nav-links.active) .hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .nav-container:has(.nav-links.active) .hamburger span:nth-child(2) { opacity: 0; }
    .nav-container:has(.nav-links.active) .hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .nav-links {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.75rem;
        background: rgba(12, 12, 12, 0.94);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--glass-border);
        border-top: 1px solid var(--glass-highlight);
        border-radius: 24px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 0.95rem 1.1rem;
        font-size: 1.05rem;
        border-radius: 14px;
        color: var(--text-main);
    }
    .nav-links a:hover,
    .nav-links a:active { background: rgba(255, 255, 255, 0.08); }
    .nav-links .nav-mobile-only { display: block; }

    .nav-actions { gap: 0.6rem; }
    .btn-glow, .btn-nav-outline { padding: 0.65rem 1.2rem; font-size: 0.9rem; }
}

.nav-links .nav-mobile-only { display: none; }
@media screen and (max-width: 900px) {
    .nav-links .nav-mobile-only { display: block; }
}


/* =========================================================
   768px — Large phones / small tablets
   ========================================================= */
@media screen and (max-width: 768px) {
    .glass-panel {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 20px;
    }
    .navbar.glass-panel { border-radius: 100px; }
    .reveal-up { transform: translateY(24px); }
    .reveal-up { transition-delay: 0s !important; }
    section { padding: 4.5rem 1.25rem; }
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
        line-height: 1.2;
    }
    .section-title.left { text-align: center; margin-bottom: 1.5rem; }
    .hero {
        min-height: 100svh;
        padding: 0 1.25rem;
    }
    .hero-content { margin-top: 5.5rem; margin-bottom: 2rem; }
    .pill-badge { font-size: 0.8rem; padding: 0.4rem 1.2rem; margin-bottom: 1.5rem; }
    .hero h1 {
        font-size: 2.6rem;
        line-height: 1.15;
        letter-spacing: -1px;
        margin-bottom: 1.2rem;
        word-wrap: break-word;
        overflow-wrap: anywhere;
        padding-bottom: 0.1em;  
    }
    .hero p { font-size: 1.05rem; margin-bottom: 2rem; }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.9rem;
    }
    .hero-buttons .btn-glow,
    .hero-buttons .btn-glass {
        width: 100%;
        max-width: 320px;
        padding: 1rem 1.5rem;
    }

    .video-wrapper {
        border-radius: 18px !important; 
    }
    .btn-glass-play { width: 64px; height: 64px; font-size: 1.5rem; }
    #portfolio > .glass-panel {
        padding: 1.75rem 1.25rem !important;
        margin-bottom: 2rem !important;
    }
    #portfolio > .glass-panel h3 { font-size: 1.3rem !important; }
    #portfolio > .glass-panel p  { font-size: 0.95rem; }

    .grid-layout {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .project-card { padding: 1.25rem; }
    .project-card .image-wrapper {
        height: 160px !important;         
        margin-bottom: 1.2rem;
    }
    .project-card .image-wrapper i { font-size: 3.2rem !important; }
    .project-info h3 { font-size: 1.3rem; }
    .project-info p  { font-size: 0.92rem; }
    .tags span { font-size: 0.75rem; padding: 0.2rem 0.7rem; }
    


    .grid-layout-2col { gap: 3.5rem; }
    .reviews-grid { grid-template-columns: 1fr; }
    .review-card { min-height: 260px; padding: 2rem 1.5rem; }
    .review-card p { font-size: 1rem; }
    .review-meta { padding-top: 1.5rem; }

    .acc-header {
        padding: 1.1rem 1rem;
        font-size: 1rem;
        gap: 0.75rem;
        line-height: 1.4;
        align-items: center;
    }
    .acc-content p { padding: 0.75rem 1rem 1.2rem; font-size: 0.93rem; }
    .capability-visual { height: 170px; }
    .capability-heading h3 { font-size: 1.3rem; }


    .contact-box {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.25rem 1.5rem;
        width: 100%;
    }
    .contact-text { text-align: center; }
    .contact-text h2 { font-size: 1.9rem; line-height: 1.25; }
    .contact-text p { margin: 0.8rem 0 1.5rem; font-size: 0.97rem; }
    .contact-box .email-link {
        display: inline-block;
        max-width: 100%;
        font-size: 1.15rem;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .glass-form { gap: 1.1rem; }

    .glass-form input:not([type="checkbox"]),
    .glass-form textarea,
    .newsletter-form input {
        font-size: 16px;
    }
    .glass-form input:not([type="checkbox"]),
    .glass-form textarea { padding: 1rem; }

    .animated-list-container .scroll-list {
        max-height: 210px;
        padding: 8px;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .list-item { padding: 14px; margin-bottom: 0.7rem; }

    .sling-btn-container { margin-top: 1rem !important; }

    .newsletter-section { padding: 3rem 1.25rem; }
    .newsletter-card {
        width: 100%;
        padding: 2.25rem 1.5rem;
        border-radius: 20px;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
    }
    .newsletter-title { font-size: 1.6rem; line-height: 1.25; }
    .newsletter-text { font-size: 0.95rem; margin-bottom: 1.5rem; }

    .newsletter-form,
    .subscribe-form {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.9rem;
    }
    .newsletter-form input {
        width: 100%;
        padding: 1rem;
    }

    .newsletter-form .b1 {
        width: 100%;
        padding: 0.4rem 0;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
    }
    .newsletter-form .b1 .box {
        width: 100%;
        float: none;
        margin: 0;
    }


    .footer-glass {
        margin: 1.5rem 0.75rem;
        padding: 2.25rem 1.25rem 1rem;
        border-radius: 24px;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem 1rem;
        padding-bottom: 2rem;
        margin-bottom: 1.25rem;
        text-align: center;
    }
    .footer-brand {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-brand h2 img {
        width: 220px;
        height: auto;
    }
    .footer-links {
        align-items: center;
        gap: 0.4rem;
    }
    .modal-btn {
        text-align: center;
        font-size: 0.95rem;
        padding: 0.45rem 0.25rem;   
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.1rem;
        padding: 0.5rem 0;
        text-align: center;
    }
    .footer-left p {
        display: block;
        text-align: center;
        font-size: 0.85rem;
        line-height: 1.8;
    }
    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.4rem 0.9rem;
    }
    .footer-right .social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;           
    }

    .modal-glass {
        width: 92%;
        max-height: 88vh;
        max-height: 88dvh;
        overflow-y: auto;
        padding: 2.25rem 1.25rem 1.5rem;
        border-radius: 20px;
    }
    .modal-glass h2 { font-size: 1.4rem; padding-right: 2rem; }
    .close-modal { top: 0.6rem; right: 1rem; }
    .modal-scroll { max-height: 55vh; padding-right: 8px; margin-top: 1rem; font-size: 0.95rem; }
    .glass-modal-content { padding: 2.25rem 1.5rem; }
    .glass-modal-content h2 { font-size: 1.5rem !important; }

    .bg-blobs { height: 100%; }
}


/* =========================================================
   600px — Phone
   ========================================================= */
@media screen and (max-width: 600px) {
    .grid-layout { grid-template-columns: 1fr; }
    .btn-nav-outline { display: none; }
}


/* =========================================================
   480px — Small phones
   ========================================================= */
@media screen and (max-width: 480px) {
    section { padding: 3.5rem 1rem; }
    .section-title { font-size: 1.9rem; margin-bottom: 1.6rem; }
    .navbar {
        top: calc(env(safe-area-inset-top, 0px) + 0.5rem);
        width: 94%;
        border-radius: 30px;
        background: #090909;
        border-color: #242424;
        box-shadow:
            8px 8px 18px rgba(0, 0, 0, 0.9),
            -6px -6px 14px rgba(32, 32, 32, 0.55),
            inset 1px 1px 2px rgba(255, 255, 255, 0.08);
    }
    .nav-container {
        min-height: 56px;
        padding: 0.35rem 0.65rem 0.35rem 0.8rem;
    }
    .brand {
        display: flex;
        align-items: center;
        min-width: 0;
    }
    .logo {
        height: 34px;
        width: auto;
    }
    .nav-links { display: none; }
    .nav-actions {
        gap: 0;
        margin-left: auto;
    }
    .nav-actions .btn-glow {
        min-width: 96px;
        padding: 0.62rem 0.9rem;
        font-size: 0.78rem;
        letter-spacing: -0.02em;
        border-radius: 999px;
        box-shadow:
            4px 4px 9px rgba(0, 0, 0, 0.8),
            -3px -3px 8px rgba(38, 38, 38, 0.55),
            inset 1px 1px 2px rgba(255, 255, 255, 0.08);
    }
    .nav-actions .btn-glow:hover,
    .nav-actions .btn-glow:focus-visible {
        transform: translateY(-2px) scale(1.03);
        box-shadow:
            4px 4px 9px rgba(0, 0, 0, 0.75),
            -3px -3px 8px rgba(48, 48, 48, 0.65),
            0 0 14px rgba(255, 255, 255, 0.14);
    }
    .hamburger { display: none; }

    .hero { padding: 0 1rem; }
    .hero h1 { font-size: 2.2rem; letter-spacing: -0.5px; }
    .hero p { font-size: 1rem; }

    .project-card { padding: 1rem; }
    .project-card .image-wrapper { height: 140px !important; }


    .contact-box { padding: 1.75rem 1.1rem; }
    .contact-text h2 { font-size: 1.6rem; }
    .contact-box .email-link { font-size: 1rem; }
    .glass-form input:not([type="checkbox"]),
    .glass-form textarea { padding: 0.9rem; }

    .newsletter-section { padding: 2.5rem 1rem; }
    .newsletter-card { padding: 1.75rem 1.1rem; }
    .newsletter-title { font-size: 1.4rem; }
    .newsletter-text { font-size: 0.9rem; }

    .footer-glass { margin: 1rem 0.5rem; padding: 2rem 1rem 0.75rem; }
    .g-recaptcha {
        transform: scale(0.88);
        transform-origin: left top;
        margin-bottom: -9px;
    }
}

@media screen and (max-width: 900px) {
    .navbar.glass-panel .hamburger {
        display: flex;
    }

    .navbar.glass-panel .nav-links {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        margin: 0;
        padding: 0.75rem;
        background: rgba(18, 12, 15, 0.96);
        border: 1px solid rgba(199, 203, 209, 0.22);
        border-radius: 24px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.72);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
    }

    .navbar.glass-panel .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .navbar.glass-panel .nav-links li,
    .navbar.glass-panel .nav-links li:nth-child(n + 4) {
        display: block;
        width: 100%;
    }

    .navbar.glass-panel .nav-links a {
        display: block;
        padding: 0.85rem 1rem;
        color: #d7dbe1;
        font-size: 1rem;
        white-space: normal;
    }

    .navbar.glass-panel .nav-actions .btn-nav-outline {
        display: none;
    }
}


/* =========================================================
   360px — Very small phones
   ========================================================= */
@media screen and (max-width: 360px) {
    .hero h1 { font-size: 1.95rem; }
    .section-title { font-size: 1.7rem; }

    .btn-glow { padding: 0.55rem 0.85rem; font-size: 0.8rem; }
    .hamburger span { width: 22px; }

    /* Footer links stack in one column */
    .footer-content { grid-template-columns: 1fr; }

    .contact-box { padding: 1.5rem 0.9rem; }
    .acc-header { font-size: 0.95rem; }

    .g-recaptcha { transform: scale(0.8); margin-bottom: -15px; }
}


/* =========================================================
   Landscape phones (short screens)
   ========================================================= */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero { min-height: auto; padding: 6rem 1.5rem 3rem; }
    .hero-content { margin-top: 0; }
    .hero-buttons { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .hero-buttons .btn-glow, .hero-buttons .btn-glass { width: auto; }
    .modal-scroll { max-height: 45vh; }
    .nav-links { max-height: 70vh; overflow-y: auto; }
}

@media screen and (max-width: 600px) {
    section {
        width: 100%;
        max-width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .faq-shell,
    .reviews-section {
        width: 100%;
    }

    .reviews-heading { margin-bottom: 2rem; }
    .reviews-heading .section-title { font-size: 2rem; }
    .review-card { min-height: 0; padding: 1.5rem; }
    .review-card p { font-size: 0.98rem; line-height: 1.6; }
    .review-meta { padding-top: 1.25rem; }
    .accordion { width: 100%; }
    .acc-header { padding-right: 3rem; }
    .acc-content p { padding: 0.75rem 1rem 1.2rem; }
}


@media (hover: none) {
    .btn-glow:hover,
    .btn-glass:hover,
    .btn-nav-outline:hover,
    .skill-pill:hover,
    .footer-right .social-link:hover { transform: none; }
}


@media screen and (max-width: 480px) {
    .navbar,
    .navbar.glass-panel {
        top: calc(env(safe-area-inset-top, 0px) + 0.5rem);
        width: 94%;
        border-radius: 30px;
        background: #090909;
        border-color: #242424;
        box-shadow:
            8px 8px 18px rgba(0, 0, 0, 0.9),
            -6px -6px 14px rgba(32, 32, 32, 0.55),
            inset 1px 1px 2px rgba(255, 255, 255, 0.08);
    }
    .navbar .nav-container {
        min-height: 56px;
        padding: 0.35rem 0.65rem 0.35rem 0.8rem;
    }
    .navbar .brand {
        display: flex;
        align-items: center;
        min-width: 0;
    }
    .navbar .logo { height: 34px; }
    .navbar .nav-links { display: none; }
    .navbar .nav-actions {
        gap: 0;
        margin-left: auto;
    }
    .navbar .nav-actions .btn-glow {
        min-width: 96px;
        padding: 0.62rem 0.9rem;
        font-size: 0.78rem;
        letter-spacing: -0.02em;
        border-radius: 999px;
        box-shadow:
            4px 4px 9px rgba(0, 0, 0, 0.8),
            -3px -3px 8px rgba(38, 38, 38, 0.55),
            inset 1px 1px 2px rgba(255, 255, 255, 0.08);
    }
    .navbar .nav-actions .btn-glow:hover,
    .navbar .nav-actions .btn-glow:focus-visible {
        transform: translateY(-2px) scale(1.03);
        box-shadow:
            4px 4px 9px rgba(0, 0, 0, 0.75),
            -3px -3px 8px rgba(48, 48, 48, 0.65),
            0 0 14px rgba(255, 255, 255, 0.14);
    }
    .navbar .hamburger { display: none; }
}

html { -webkit-text-size-adjust: 100%; }
img, video, svg, iframe { max-width: 100%; }
body { overflow-x: hidden; }


/* =========================================================
   1100px — Small laptops / large tablets
   ========================================================= */
@media screen and (max-width: 1100px) {
    .hero h1 { font-size: 3.8rem; }
    .section-title { font-size: 2.6rem; }

    .footer-glass { padding: 3rem 2.5rem 1rem; margin: 2rem 1rem; }
    .contact-box { padding: 3rem; gap: 3rem; }

}


/* =========================================================
   1024px — Tablets (landscape)
   ========================================================= */
@media screen and (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }

    .grid-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
    .grid-layout-2col { grid-template-columns: 1fr; gap: 3rem; }

    .contact-box {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .dashboard-main {
        grid-template-columns: 1fr;
        margin: 1rem;
    }
}


/* =========================================================
   900px — Tablets (portrait)
   ========================================================= */
@media screen and (max-width: 900px) {
    .navbar {
        top: calc(env(safe-area-inset-top, 0px) + 0.75rem);
        width: 94%;
    }

    .nav-container { padding: 0.55rem 1.1rem; position: static; }
    .logo { height: 44px; }

    .hamburger {
        display: flex;
        padding: 10px 6px;           
        margin-right: -6px;
        -webkit-tap-highlight-color: transparent;
    }
    .hamburger span { transition: transform 0.3s ease, opacity 0.3s ease; }

    /* Hamburger -> X while the menu is open (modern browsers) */
    .nav-container:has(.nav-links.active) .hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .nav-container:has(.nav-links.active) .hamburger span:nth-child(2) { opacity: 0; }
    .nav-container:has(.nav-links.active) .hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .nav-links {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.75rem;
        background: rgba(12, 12, 12, 0.94);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--glass-border);
        border-top: 1px solid var(--glass-highlight);
        border-radius: 24px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 0.95rem 1.1rem;
        font-size: 1.05rem;
        border-radius: 14px;
        color: var(--text-main);
    }
    .nav-links a:hover,
    .nav-links a:active { background: rgba(255, 255, 255, 0.08); }
    .nav-links .nav-mobile-only { display: block; }

    .nav-actions { gap: 0.6rem; }
    .btn-glow, .btn-nav-outline { padding: 0.65rem 1.2rem; font-size: 0.9rem; }
}

.nav-links .nav-mobile-only { display: none; }
@media screen and (max-width: 900px) {
    .nav-links .nav-mobile-only { display: block; }
}


/* =========================================================
   768px — Large phones / small tablets 
   ========================================================= */
@media screen and (max-width: 768px) {
    .glass-panel {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 20px;
    }
    .navbar.glass-panel { border-radius: 100px; }
    .reveal-up { transform: translateY(24px); }
    .reveal-up { transition-delay: 0s !important; }
    section { padding: 4.5rem 1.25rem; }
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
        line-height: 1.2;
    }
    .section-title.left { text-align: center; margin-bottom: 1.5rem; }

    .hero {
        min-height: 100svh;
        padding: 0 1.25rem;
    }
    .hero-content { margin-top: 5.5rem; margin-bottom: 2rem; }
    .pill-badge { font-size: 0.8rem; padding: 0.4rem 1.2rem; margin-bottom: 1.5rem; }
    .hero h1 {
        font-size: 2.6rem;
        line-height: 1.15;
        letter-spacing: -1px;
        margin-bottom: 1.2rem;
        word-wrap: break-word;
        overflow-wrap: anywhere;
        padding-bottom: 0.1em;      
    }
    .hero p { font-size: 1.05rem; margin-bottom: 2rem; }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.9rem;
    }
    .hero-buttons .btn-glow,
    .hero-buttons .btn-glass {
        width: 100%;
        max-width: 320px;
        padding: 1rem 1.5rem;
    }


    .video-wrapper {
        border-radius: 18px !important;  
    }
    .btn-glass-play { width: 64px; height: 64px; font-size: 1.5rem; }

    #portfolio > .glass-panel {
        padding: 1.75rem 1.25rem !important;
        margin-bottom: 2rem !important;
    }
    #portfolio > .glass-panel h3 { font-size: 1.3rem !important; }
    #portfolio > .glass-panel p  { font-size: 0.95rem; }

    .grid-layout {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .project-card { padding: 1.25rem; }
    .project-card .image-wrapper {
        height: 160px !important;        
        margin-bottom: 1.2rem;
    }
    .project-card .image-wrapper i { font-size: 3.2rem !important; }
    .project-info h3 { font-size: 1.3rem; }
    .project-info p  { font-size: 0.92rem; }
    .tags span { font-size: 0.75rem; padding: 0.2rem 0.7rem; }


    .grid-layout-2col { gap: 3.5rem; }
    .testimonial-card { padding: 1.5rem 1.25rem; margin-bottom: 1.1rem; }
    .testimonial-card p { font-size: 0.95rem; }

    .acc-header {
        padding: 1.1rem 1rem;
        font-size: 1rem;
        gap: 0.75rem;
        line-height: 1.4;
        align-items: center;
    }
    .acc-content p { padding: 0 1rem 1.2rem; font-size: 0.93rem; }


    .contact-box {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.25rem 1.5rem;
        width: 100%;
    }
    .contact-text { text-align: center; }
    .contact-text h2 { font-size: 1.9rem; line-height: 1.25; }
    .contact-text p { margin: 0.8rem 0 1.5rem; font-size: 0.97rem; }
    .contact-box .email-link {
        display: inline-block;
        max-width: 100%;
        font-size: 1.15rem;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .glass-form { gap: 1.1rem; }

    .glass-form input:not([type="checkbox"]),
    .glass-form textarea,
    .newsletter-form input {
        font-size: 16px;
    }
    .glass-form input:not([type="checkbox"]),
    .glass-form textarea { padding: 1rem; }

    .animated-list-container .scroll-list {
        max-height: 210px;
        padding: 8px;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .list-item { padding: 14px; margin-bottom: 0.7rem; }

    .sling-btn-container { margin-top: 1rem !important; }

    .newsletter-section { padding: 3rem 1.25rem; }
    .newsletter-card {
        width: 100%;
        padding: 2.25rem 1.5rem;
        border-radius: 20px;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
    }
    .newsletter-title { font-size: 1.6rem; line-height: 1.25; }
    .newsletter-text { font-size: 0.95rem; margin-bottom: 1.5rem; }

    .newsletter-form,
    .subscribe-form {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.9rem;
    }
    .newsletter-form input {
        width: 100%;
        padding: 1rem;
    }

    .newsletter-form .b1 {
        width: 100%;
        padding: 0.4rem 0;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
    }
    .newsletter-form .b1 .box {
        width: 100%;
        float: none;
        margin: 0;
    }

    .footer-glass {
        margin: 1.5rem 0.75rem;
        padding: 2.25rem 1.25rem 1rem;
        border-radius: 24px;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem 1rem;
        padding-bottom: 2rem;
        margin-bottom: 1.25rem;
        text-align: center;
    }
    .footer-brand {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-links {
        align-items: center;
        gap: 0.4rem;
    }
    .modal-btn {
        text-align: center;
        font-size: 0.95rem;
        padding: 0.45rem 0.25rem;    
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.1rem;
        padding: 0.5rem 0;
        text-align: center;
    }
    .footer-left p {
        display: block;              
        text-align: center;
        font-size: 0.85rem;
        line-height: 1.8;
    }
    .footer-left p img {
        display: inline-block;
        height: 34px;
        width: auto;
        vertical-align: middle;
        margin: 0 2px;
    }
    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.4rem 0.9rem;
    }
    .footer-right .social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;              
    }


    .modal-glass {
        width: 92%;
        max-height: 88vh;
        max-height: 88dvh;
        overflow-y: auto;
        padding: 2.25rem 1.25rem 1.5rem;
        border-radius: 20px;
    }
    .modal-glass h2 { font-size: 1.4rem; padding-right: 2rem; }
    .close-modal { top: 0.6rem; right: 1rem; }
    .modal-scroll { max-height: 55vh; padding-right: 8px; margin-top: 1rem; font-size: 0.95rem; }
    .glass-modal-content { padding: 2.25rem 1.5rem; }
    .glass-modal-content h2 { font-size: 1.5rem !important; }
    .bg-blobs { height: 100%; }
}


/* =========================================================
   600px — Phones
   ========================================================= */
@media screen and (max-width: 600px) {
    .grid-layout { grid-template-columns: 1fr; }
    .btn-nav-outline { display: none; }
}


/* =========================================================
   480px — Small phones
   ========================================================= */
@media screen and (max-width: 480px) {
    section { padding: 3.5rem 1rem; }
    .section-title { font-size: 1.9rem; margin-bottom: 1.6rem; }

    .navbar { width: 95%; }
    .nav-container { padding: 0.5rem 0.9rem; }
    .logo { height: 40px; }
    .btn-glow { padding: 0.6rem 1rem; font-size: 0.85rem; }

    .hero { padding: 0 1rem; }
    .hero h1 { font-size: 2.2rem; letter-spacing: -0.5px; }
    .hero p { font-size: 1rem; }

    .project-card { padding: 1rem; }
    .project-card .image-wrapper { height: 140px !important; }


    .contact-box { padding: 1.75rem 1.1rem; }
    .contact-text h2 { font-size: 1.6rem; }
    .contact-box .email-link { font-size: 1rem; }
    .glass-form input:not([type="checkbox"]),
    .glass-form textarea { padding: 0.9rem; }

    .newsletter-section { padding: 2.5rem 1rem; }
    .newsletter-card { padding: 1.75rem 1.1rem; }
    .newsletter-title { font-size: 1.4rem; }
    .newsletter-text { font-size: 0.9rem; }

    .footer-glass { margin: 1rem 0.5rem; padding: 2rem 1rem 0.75rem; }
    .g-recaptcha {
        transform: scale(0.88);
        transform-origin: left top;
        margin-bottom: -9px;
    }
}


/* =========================================================
   360px — Very small phones
   ========================================================= */
@media screen and (max-width: 360px) {
    .hero h1 { font-size: 1.95rem; }
    .section-title { font-size: 1.7rem; }

    .btn-glow { padding: 0.55rem 0.85rem; font-size: 0.8rem; }
    .hamburger span { width: 22px; }

    /* Footer links stack in one column */
    .footer-content { grid-template-columns: 1fr; }

    .contact-box { padding: 1.5rem 0.9rem; }
    .acc-header { font-size: 0.95rem; }

    .g-recaptcha { transform: scale(0.8); margin-bottom: -15px; }
}


/* =========================================================
   Landscape phones (short screens)
   ========================================================= */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero { min-height: auto; padding: 6rem 1.5rem 3rem; }
    .hero-content { margin-top: 0; }
    .hero-buttons { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .hero-buttons .btn-glow, .hero-buttons .btn-glass { width: auto; }
    .modal-scroll { max-height: 45vh; }
    .nav-links { max-height: 70vh; overflow-y: auto; }
}


@media (hover: none) {
    .btn-glow:hover,
    .btn-glass:hover,
    .btn-nav-outline:hover,
    .skill-pill:hover,
    .footer-right .social-link:hover { transform: none; }
}


@media screen and (max-width: 480px) {
    .navbar.glass-panel {
        top: calc(env(safe-area-inset-top, 0px) + 0.5rem);
        width: 94%;
        border-radius: 30px;
        background: #090909;
        border-color: #242424;
        box-shadow:
            8px 8px 18px rgba(0, 0, 0, 0.9),
            -6px -6px 14px rgba(32, 32, 32, 0.55),
            inset 1px 1px 2px rgba(255, 255, 255, 0.08);
    }
    .navbar.glass-panel .nav-container {
        min-height: 56px;
        padding: 0.35rem 0.65rem 0.35rem 0.8rem;
    }
    .navbar.glass-panel .logo { height: 34px; }
    .navbar.glass-panel .nav-links {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.05rem;
        margin: 0 0.25rem 0 auto;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }
    .navbar.glass-panel .nav-links li:nth-child(n + 4) { display: none; }
    .navbar.glass-panel .nav-links a {
        padding: 0.35rem 0.28rem;
        color: #a7a7a7;
        font-size: 0.58rem;
        font-weight: 600;
        white-space: nowrap;
    }
    .navbar.glass-panel .nav-links a::after { display: none; }
    .navbar.glass-panel .nav-links a:hover,
    .navbar.glass-panel .nav-links a:focus-visible {
        color: #ffffff;
        background: #151515;
        transform: none;
        box-shadow: none;
    }
    .navbar.glass-panel .hamburger { display: none; }
    .navbar.glass-panel .nav-actions {
        gap: 0;
        margin-left: auto;
    }
    .navbar.glass-panel .nav-actions .btn-glow {
        min-width: 34px;
        padding: 0.62rem 0.9rem;
        font-size: 0.78rem;
        border-radius: 999px;
    }
}

@media screen and (max-width: 900px) {
    .navbar.glass-panel .hamburger { display: flex; }
    .navbar.glass-panel .nav-links {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        margin: 0;
        padding: 0.75rem;
        background: rgba(18, 12, 15, 0.96);
        border: 1px solid rgba(199, 203, 209, 0.22);
        border-radius: 24px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
    }
    .navbar.glass-panel .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    .navbar.glass-panel .nav-links li,
    .navbar.glass-panel .nav-links li:nth-child(n + 4) {
        display: block;
        width: 100%;
    }
    .navbar.glass-panel .nav-links a {
        display: block;
        padding: 0.85rem 1rem;
        color: #d7dbe1;
        font-size: 1rem;
        white-space: normal;
    }
    .navbar.glass-panel .nav-actions .btn-nav-outline { display: none; }
}


@media screen and (max-width: 900px) {
    .navbar.glass-panel .nav-actions .btn-glow {
        min-width: 108px;
        height: 42px;
        padding: 0.62rem 0.85rem;
        border: 1px solid rgba(255, 245, 247, 0.9);
        background: linear-gradient(110deg, #f5f2f3 0%, #d7d5d9 58%, #c8a5ad 100%);
        color: #260b12;
        font-size: 0.78rem;
        font-weight: 700;
        line-height: 1;
        box-shadow:
            0 4px 0 rgba(73, 12, 27, 0.72),
            0 8px 16px rgba(130, 24, 47, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

    .navbar.glass-panel .nav-actions .btn-glow:hover,
    .navbar.glass-panel .nav-actions .btn-glow:focus-visible {
        background: linear-gradient(110deg, #ffffff 0%, #e7dfe2 58%, #d17789 100%);
        color: #260b12;
        transform: translateY(-2px);
    }

    .navbar.glass-panel .nav-actions {
        gap: 0.35rem;
    }
}


@media screen and (max-width: 900px) {
    .navbar .nav-container { display: flex; align-items: center; min-height: 56px; padding: 0.35rem 0.65rem 0.35rem 0.8rem; }
    .navbar .brand { position: relative; display: block; width: 128px; height: 38px; min-width: 128px; overflow: hidden; flex: 0 0 128px; }
    .navbar.glass-panel .logo { position: absolute; top: -15px; left: 0; display: block; width: 128px; max-width: none; height: auto; filter: drop-shadow(0 0 6px rgba(220, 54, 72, 0.24)); }
    .navbar .nav-links { display: flex; position: absolute; top: calc(100% + 0.75rem); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0.25rem; margin: 0; padding: 0.75rem; opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none; }
    .navbar .nav-links.active { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
    .navbar .nav-actions { display: flex; align-items: center; gap: 0.55rem; margin-left: auto; }
    .navbar .nav-actions .btn-glow { display: inline-flex; min-width: 96px; padding: 0.62rem 0.9rem; font-size: 0.78rem; }
    .navbar .nav-actions .btn-nav-outline { display: none; }
    .navbar .hamburger { display: flex; flex: 0 0 auto; width: 34px; height: 34px; align-items: center; justify-content: center; gap: 4px; padding: 0; margin: 0; border: 0; background: transparent; }
    .navbar .hamburger span { display: block; width: 24px; height: 2px; }
}

@media screen and (max-width: 900px) {
    .navbar .nav-container {
        display: flex;
        align-items: center;
        min-height: 56px;
        padding: 0.35rem 0.65rem 0.35rem 0.8rem;
    }

    .navbar .brand {
        position: relative;
        display: block;
        width: 128px;
        height: 38px;
        min-width: 128px;
        overflow: hidden;
        flex: 0 0 128px;
    }

    .navbar .logo {
        position: absolute;
        top: -15px;
        left: 0;
        display: block;
        width: 128px;
        max-width: none;
        height: auto;
        filter: drop-shadow(0 0 6px rgba(220, 54, 72, 0.24));
    }

    .navbar .nav-links {
        display: flex;
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        margin: 0;
        padding: 0.75rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
    }

    .navbar .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .navbar .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        margin-left: auto;
    }

    .navbar .nav-actions .btn-glow {
        display: inline-flex;
        min-width: 96px;
        padding: 0.62rem 0.9rem;
        font-size: 0.78rem;
    }

    .navbar .nav-actions .btn-nav-outline {
        display: none;
    }

    .navbar .hamburger {
        display: flex;
        flex: 0 0 auto;
        width: 34px;
        height: 34px;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 0;
        margin: 0;
        border: 0;
        background: transparent;
    }

    .navbar .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
    }
}

@media screen and (max-width: 900px) {
    .navbar .nav-container {
        display: flex;
        align-items: center;
        min-height: 56px;
        padding: 0.35rem 0.65rem 0.35rem 0.8rem;
    }

    .navbar .brand {
        position: relative;
        display: block;
        width: 128px;
        height: 38px;
        min-width: 128px;
        overflow: hidden;
        flex: 0 0 128px;
    }

    .navbar .logo {
        position: absolute;
        top: -15px;
        left: 0;
        display: block;
        width: 128px;
        max-width: none;
        height: auto;
        filter: drop-shadow(0 0 6px rgba(220, 54, 72, 0.24));
    }

    .navbar .nav-links {
        display: flex;
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        margin: 0;
        padding: 0.75rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
    }

    .navbar .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .navbar .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        margin-left: auto;
    }

    .navbar .nav-actions .btn-glow {
        display: inline-flex;
        min-width: 96px;
        padding: 0.62rem 0.9rem;
        font-size: 0.78rem;
    }

    .navbar .nav-actions .btn-nav-outline {
        display: none;
    }

    .navbar .hamburger {
        display: flex;
        flex: 0 0 auto;
        width: 34px;
        height: 34px;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 0;
        margin: 0;
        border: 0;
        background: transparent;
    }

    .navbar .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
    }
}

@media screen and (max-width: 900px) {
    .navbar.glass-panel .logo {
        height: auto;
    }

    .navbar.glass-panel .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .navbar.glass-panel .nav-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 42px;
    }

    .navbar.glass-panel .nav-actions .btn-glow {
        margin: 0;
        align-self: center;
    }

    .navbar.glass-panel .hamburger {
        align-self: center;
    }
}

@media screen and (max-width: 900px) {
    .navbar.glass-panel .nav-actions {
        gap: 0.35rem;
    }

    .navbar.glass-panel .nav-actions .btn-glow {
        min-width: 108px;
        height: 42px;
        padding: 0.62rem 0.85rem;
        border: 1px solid rgba(255, 245, 247, 0.9);
        background: linear-gradient(110deg, #f5f2f3 0%, #d7d5d9 58%, #c8a5ad 100%);
        color: #260b12;
        font-size: 0.78rem;
        font-weight: 700;
        line-height: 1;
        box-shadow:
            0 4px 0 rgba(73, 12, 27, 0.72),
            0 8px 16px rgba(130, 24, 47, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

    .navbar.glass-panel .nav-actions .btn-glow:hover,
    .navbar.glass-panel .nav-actions .btn-glow:focus-visible {
        background: linear-gradient(110deg, #ffffff 0%, #e7dfe2 58%, #d17789 100%);
        color: #260b12;
        transform: translateY(-2px);
    }
}

/* =========================================================
   Mobile navbar: logo | Start Project | hamburger
   Grid layout; .nav-actions is flattened so the CTA sits
   centred between the logo and the menu button.
   ========================================================= */
@media screen and (max-width: 900px) {
    .navbar.glass-panel .nav-container {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 0.5rem;
        min-height: 58px;
    }

    .navbar.glass-panel .nav-actions {
        display: contents;
    }

    .navbar.glass-panel .nav-actions .btn-glow {
        grid-column: 2;
        justify-self: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        max-width: 100%;
        height: 44px;
        padding: 0 0.95rem;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .navbar.glass-panel .hamburger {
        grid-column: 3;
        justify-self: end;
        width: 44px;
        height: 44px;
        margin-right: -8px;
        -webkit-tap-highlight-color: transparent;
    }
}

@media screen and (max-width: 400px) {
    .navbar.glass-panel .nav-container { column-gap: 0.25rem; }
    .navbar.glass-panel .nav-actions .btn-glow { padding: 0 0.75rem; font-size: 0.72rem; }
}

/* Let the contact grid shrink below its inputs' intrinsic width so the page never grows wider than the screen */
@media screen and (max-width: 1024px) {
    .contact-box { grid-template-columns: minmax(0, 1fr); }
    .contact-box > * { min-width: 0; }
    .glass-form input:not([type="checkbox"]),
    .glass-form textarea { min-width: 0; max-width: 100%; }
}

/* Preserve the visual effects on touch tablets while limiting large GPU surfaces. */
@media screen and (min-width: 600px) and (max-width: 1280px) and (pointer: coarse) {
    body { background-attachment: scroll; }

    .blob {
        will-change: auto;
        animation-duration: 32s;
    }

    .blob-1,
    .blob-2 {
        width: min(46vw, 560px);
        height: min(46vw, 560px);
    }

    .blob-3 { animation: none; opacity: 0.55; }
    .bg-blobs::after { background-image: none; mix-blend-mode: normal; }
    .bg-blobs::before,
    .bg-blobs::after {
        box-shadow: 0 0 12px rgba(197, 38, 57, 0.28), inset 0 0 28px rgba(104, 20, 34, 0.16);
    }

    .section-reveal { will-change: auto; }

    .qd-orbit-item { will-change: auto; }
    .qd-orbit.is-tablet .qd-orbit-item:not(.is-active) .qd-orbit-name {
        visibility: hidden;
        opacity: 0;
    }
    .qd-orbit.is-tablet .qd-orbit-item.is-active .qd-orbit-name {
        visibility: visible;
        opacity: 1;
    }
    .qd-orbit-icon {
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 18px rgba(0, 0, 0, 0.48);
    }
    .qd-orbit-spot { filter: blur(8px); }

    .qd-pkg.is-tablet { --qd-card-w: clamp(300px, 30vw, 360px); }
    .qd-pkg-stage { perspective: 1200px; }
    .qd-pkg-trails { width: min(100%, 960px); }
    .qd-pkg-card { will-change: auto; }
    .qd-pkg-float { animation: none; }
    .qd-pkg-surface {
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
    .qd-pkg-surface::before {
        box-shadow: 0 0 22px rgba(196, 48, 74, 0.32), inset 0 0 26px rgba(196, 48, 74, 0.1);
    }
    .qd-orb { filter: drop-shadow(0 0 5px rgba(230, 93, 127, 0.78)); }
    .qd-pkg-platform { height: 96px; }
    .qd-platform-glow { filter: blur(10px); }
    .qd-pkg-arrow {
        width: 48px;
        height: 48px;
        touch-action: manipulation;
    }
    .qd-pkg-arrow:active { transform: scale(0.94); }
}

@media (prefers-reduced-motion: reduce) {
    .blob { animation: none; }
}
