@media (max-width: 768px) {
    #hero-intro-content.show-about .video-placeholder {
        width: 100%;
        max-width: none;
        aspect-ratio: auto;
        display: block;
        overflow: visible;
        border-radius: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    #hero-intro-content.show-about .video-stack {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        border-radius: 20px 36px 20px 36px;
        border: 1px solid rgba(255, 255, 255, 0.76);
        background: var(--bg-base);
        box-shadow: 0 8px 20px rgba(15, 43, 37, 0.08);
    }

    #hero-intro-content.show-about .about-video {
        inset: 0;
        width: 100%;
        height: 100%;
    }

    #hero-intro-content.show-about .video-progress-container {
        position: relative;
        width: 100%;
        margin: 10px auto 0;
        height: 48px;
        padding: 0 9px;
        gap: 8px;
        border-radius: 999px;
        background: rgba(7, 24, 20, 0.48);
        border: 1px solid rgba(122, 247, 223, 0.35);
        box-shadow: 0 8px 18px rgba(7, 24, 20, 0.14);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    #hero-intro-content.show-about .chapter-back-button {
        width: 30px;
        height: 30px;
        order: 0;
        flex: 0 0 auto;
        color: #ecfff9;
        background: rgba(255, 255, 255, 0.12);
    }

    #hero-intro-content.show-about .video-skill-chips {
        order: 1;
    }

    #hero-intro-content.show-about .pill-controls {
        order: 2;
        width: 38px;
        height: 38px;
    }

    #hero-intro-content.show-about .progress-spinner {
        width: 38px;
        height: 38px;
    }

    #hero-intro-content.show-about .chapter-indicator {
        order: 3;
        color: #ecfff9;
    }

    body.mobile-nav-open {
        overflow: hidden;
    }

    .brand-mark {
        top: 20px;
        left: 16px;
        transform: none;
        font-size: 0.85rem;
        letter-spacing: 0.8px;
    }

    .brand-mark:hover {
        transform: translateY(-1px);
    }

    .mobile-nav-toggle {
        position: fixed;
        top: 12px;
        right: 12px;
        z-index: 1205;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 56px;
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.84);
        background: rgba(240, 246, 244, 0.98);
        box-shadow: 0 10px 20px rgba(15, 43, 37, 0.1);
        color: var(--text-deep);
        cursor: pointer;
        touch-action: manipulation;
    }

    .lang-toggle {
        top: 12px;
        right: 78px;
        padding: 3px;
    }

    .lang-btn {
        min-width: 40px;
        height: 30px;
        font-size: 0.68rem;
    }

    .mobile-nav-toggle span,
    .mobile-nav-toggle::before,
    .mobile-nav-toggle::after {
        content: '';
        position: absolute;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform 0.24s ease, opacity 0.2s ease;
    }

    .mobile-nav-toggle span {
        transform: translateY(0);
    }

    .mobile-nav-toggle::before {
        transform: translateY(-6px);
    }

    .mobile-nav-toggle::after {
        transform: translateY(6px);
    }

    .mobile-nav-toggle.is-open span {
        opacity: 0;
    }

    .mobile-nav-toggle.is-open::before {
        transform: rotate(45deg);
    }

    .mobile-nav-toggle.is-open::after {
        transform: rotate(-45deg);
    }

    nav {
        top: 82px;
        left: 50%;
        width: calc(100% - 16px);
        max-width: 520px;
        padding: 12px;
        border-radius: 24px;
        flex-direction: column;
        align-items: stretch;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        pointer-events: none;
        transform: translateX(-50%) translateY(-8px);
        transition: opacity 0.22s ease, max-height 0.26s ease, transform 0.26s ease;
    }

    nav.mobile-open {
        opacity: 1;
        max-height: min(82vh, 620px);
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
        overflow-y: auto;
    }

    nav > a,
    .nav-item > a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0;
        min-height: 52px;
        padding: 12px 14px;
        border-radius: 14px;
        text-align: center;
        font-size: 0.9rem;
        letter-spacing: 1.4px;
        touch-action: manipulation;
    }

    nav > a:hover,
    .nav-item > a:hover {
        transform: none;
        text-shadow: none;
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: relative;
        padding: 0;
        margin: 0;
    }

    .nav-item.has-dropdown > a::after {
        content: '';
        width: 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        margin-left: 10px;
        opacity: 0.7;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .nav-item.has-dropdown.open > a::after {
        transform: rotate(-135deg) translateY(-1px);
        opacity: 1;
    }

    .has-dropdown::after {
        display: none;
    }

    .nav-dropdown {
        position: static !important;
        transform: none;
        width: 100%;
        min-width: 0;
        margin: 6px 0 10px;
        padding: 8px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.8);
        background: rgba(244, 249, 247, 0.98);
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: none;
        left: auto !important;
        right: auto !important;
        top: auto !important;
    }

    .has-dropdown.open .nav-dropdown {
        display: block;
    }

    .has-dropdown:hover .nav-dropdown,
    .has-dropdown.open .nav-dropdown,
    .has-dropdown:focus-within .nav-dropdown {
        position: static !important;
        left: auto;
        right: auto;
        top: auto;
        transform: none !important;
    }

    .has-dropdown:hover .nav-dropdown,
    .has-dropdown.open .nav-dropdown,
    .has-dropdown:focus-within .nav-dropdown {
        transform: none !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        margin-left: 0;
    }

    .nav-dropdown-item {
        justify-content: center;
        width: 100%;
        min-height: 48px;
        padding: 12px 14px;
        font-size: 0.86rem;
        letter-spacing: 0.4px;
        border-radius: 12px;
        touch-action: manipulation;
    }

    .nav-dropdown-item + .nav-dropdown-item {
        margin-top: 6px;
    }

    #hero-intro-content {
        width: min(100%, 440px);
        min-width: 0;
        max-width: 100%;
    }

    #hero-intro-content.show-about,
    #hero-intro-content.show-client {
        justify-content: flex-start;
        padding-top: 22px;
        padding-bottom: 16px;
    }

    header {
        min-height: 100svh;
        padding: 104px 14px 44px;
    }

    .hero-text-wrapper {
        padding-inline: 8px;
        min-width: 0;
        max-width: 100%;
    }

    #about-text,
    #client-text,
    .about-chapter,
    .karaoke-copy {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .karaoke-line {
        max-width: 100%;
        white-space: normal;
    }

    header h1 {
        font-size: clamp(2.3rem, 11.5vw, 3rem);
        letter-spacing: -1.2px;
        margin-bottom: 12px;
    }

    header p {
        font-size: 1rem;
        line-height: 1.4;
        max-width: 100%;
        margin-bottom: 18px;
        padding-inline: 4px;
    }

    #hero-cta,
    .hero-skip-cta,
    .hero-switch-cta {
        width: min(300px, 92%);
    }

    #hero-intro-content.show-about .hero-action-row,
    #hero-intro-content.show-client .hero-action-row {
        flex-direction: column;
        gap: 12px;
    }

    .hero-switch-cta {
        order: 1;
    }

    #hero-cta {
        order: 2;
    }

    #hero-intro-content.show-about .btn,
    #hero-intro-content.show-client .btn {
        margin-top: 18px;
    }

    #hero-intro-content.show-about .hero-action-row,
    #hero-intro-content.show-client .hero-action-row {
        margin-top: 14px;
    }

    #hero-path-chooser {
        width: 100%;
    }

    #hero-intro-content.path-choice-open #hero-path-chooser {
        max-height: 420px;
        margin-top: 12px;
    }

    .path-branch {
        display: none;
    }

    .path-option-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .path-option {
        min-height: 50px;
        justify-content: center;
        text-align: center;
        padding: 12px 14px;
        white-space: normal;
    }

    .path-option strong {
        font-size: 0.82rem;
        letter-spacing: 0.5px;
        line-height: 1.25;
    }

    #hero-intro-content.show-about #about-text {
        margin: 0 auto 6px;
    }

    #hero-intro-content.show-about .about-expand-toggle {
        margin-top: 8px;
    }

    #hero-intro-content.show-client #client-text {
        margin: 0 auto 14px;
    }

    .about-chapter h2,
    #client-text h2 {
        font-size: clamp(1.75rem, 7.2vw, 2.2rem);
        margin-bottom: 10px;
    }

    .karaoke-copy {
        gap: 4px;
        line-height: 1.38;
        font-size: 0.98rem;
    }

    .video-placeholder,
    .client-media-placeholder {
        width: 100%;
        max-width: none;
        border-radius: 24px;
        aspect-ratio: 16 / 10;
    }

    .video-progress-container {
        left: 12px;
        right: 12px;
        bottom: 12px;
        height: 52px;
        padding: 0 10px;
        gap: 10px;
        justify-content: space-between;
    }

    .video-skill-chips {
        display: flex;
        flex: 1 1 auto;
        min-width: 0;
        gap: 6px;
        overflow: hidden;
        order: 1;
    }

    .video-skill-chips .skill-chip {
        font-size: 0.52rem;
        padding: 3px 7px;
        letter-spacing: 0.55px;
        flex: 0 0 auto;
        max-width: none;
        white-space: nowrap;
    }

    .pill-controls {
        order: 2;
        flex: 0 0 auto;
    }

    .chapter-indicator {
        order: 3;
        margin-left: 2px;
    }

    .chapter-indicator {
        font-size: 0.72rem;
        min-width: 26px;
    }

    .project-header-row {
        margin-bottom: 18px;
        min-height: auto;
        width: 100%;
        padding-inline: 8px;
        position: relative;
        flex-direction: column;
    }

    .project-title-text {
        display: none;
    }

    .project-filter-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        position: static;
        max-width: 100%;
        min-height: auto;
        padding: 9px 16px 12px;
        border: 1px solid rgba(22, 130, 105, 0.2);
        border-radius: 24px 48px 24px 48px;
        background: rgba(255, 255, 255, 0.58);
        box-shadow: 0 10px 22px rgba(15, 43, 37, 0.08);
        color: var(--text-deep);
        font-size: 1.9rem;
        line-height: 1.08;
        letter-spacing: 0;
        text-transform: none;
        text-wrap: balance;
    }

    .project-filter-toggle::after {
        content: '';
        flex: 0 0 auto;
        width: 0.46em;
        height: 0.46em;
        border-right: 0.11em solid currentColor;
        border-bottom: 0.11em solid currentColor;
        transform: translateY(-0.12em) rotate(45deg);
        opacity: 0.78;
        transition: transform 0.22s ease, opacity 0.22s ease;
    }

    .project-filter-toggle[aria-expanded="true"]::after {
        transform: translateY(0.08em) rotate(225deg);
        opacity: 1;
    }

    #hero-projects.show-projects {
        margin-top: 28px;
    }

    #hero-services.show-services {
        margin-top: 28px;
    }

    .services-shell {
        border-radius: 24px;
        padding: 28px 14px 18px;
    }

    .services-shell h2 {
        max-width: 100%;
        font-size: clamp(1.5rem, 7vw, 2rem);
        line-height: 1.08;
        letter-spacing: 0;
        margin-bottom: 10px;
        overflow-wrap: anywhere;
        hyphens: auto;
        text-wrap: balance;
    }

    .services-hero p {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .services-kicker {
        margin-bottom: 8px;
    }

    .services-story {
        margin-top: 18px;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .services-frame-column {
        display: none;
    }

    .service-step-media {
        position: relative;
        display: block;
        margin: 0 0 14px;
        aspect-ratio: 16 / 10;
        overflow: hidden;
        border-radius: 20px 36px 20px 36px;
        border: 1px solid rgba(255, 255, 255, 0.76);
        background: var(--bg-base);
        box-shadow: 0 8px 20px rgba(15, 43, 37, 0.08);
    }

    .service-step-media :is(video, img) {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .service-step-media figcaption {
        position: absolute;
        left: 10px;
        right: 10px;
        bottom: 10px;
        margin: 0;
        border-radius: 999px;
        padding: 7px 10px;
        font-size: 0.7rem;
        letter-spacing: 0.35px;
        color: #ecfff9;
        background: rgba(7, 24, 20, 0.48);
        border: 1px solid rgba(122, 247, 223, 0.35);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .services-progress-pill {
        display: none;
    }

    .service-step {
        border-radius: 18px 38px 18px 38px;
        padding: 16px 14px 14px;
    }

    .services-scope-grid {
        margin-top: 16px;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .services-scope-card {
        border-radius: 18px;
        padding: 14px 12px;
    }

    .services-choice-row {
        flex-direction: column;
        gap: 10px;
        margin-top: 14px;
    }

    #hero-projects h2 {
        font-size: 1.9rem;
    }

    .project-layout {
        flex-direction: column;
        gap: 14px;
    }

    .project-filter-sidebar {
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        transform: translate(-50%, -8px);
        width: min(330px, calc(100vw - 24px));
        max-width: none;
        padding: 14px;
        margin: 0;
        border-radius: 24px 48px 24px 48px;
        background: rgba(248, 252, 250, 0.94);
        border-color: rgba(255, 255, 255, 0.82);
        box-shadow: 0 16px 34px rgba(15, 43, 37, 0.14), inset 0 0 0 1px rgba(62, 207, 178, 0.08);
        opacity: 0;
        pointer-events: none;
        z-index: 1204;
        transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease, box-shadow 0.24s ease;
    }

    .project-filter-sidebar.is-open,
    body.projects-filter-open .project-filter-sidebar {
        transform: translate(-50%, 0);
        opacity: 1;
        pointer-events: auto;
    }

    .project-filter-sidebar h3 {
        display: none;
    }

    .project-filter-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .filter-btn {
        position: static;
        width: 100%;
        min-width: 0;
        padding: 11px 12px;
        font-size: 0.74rem;
        letter-spacing: 0.6px;
        min-height: 50px;
        border-radius: 18px 38px 18px 38px;
        background: rgba(255, 255, 255, 0.78);
        box-shadow: 0 8px 18px rgba(15, 43, 37, 0.06);
    }

    .project-main {
        padding-left: 0;
        width: 100%;
        max-width: 100%;
    }

    .projects-container.grid-view {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .project-card {
        min-height: auto;
        padding: 28px 18px;
        border-radius: 26px 58px 26px 58px;
        transform: translateY(18px) scale(0.98);
    }

    .project-card:nth-child(1),
    .project-card:nth-child(3),
    #hero-projects.absorbing .project-card:nth-child(1),
    #hero-projects.absorbing .project-card:nth-child(2),
    #hero-projects.absorbing .project-card:nth-child(3) {
        transform: translateY(18px) scale(0.98);
    }

    #hero-projects.show-projects .project-card {
        transform: translateY(0) scale(1);
    }

    .project-card h3 {
        font-size: clamp(1.42rem, 7.3vw, 1.95rem);
        min-height: 0;
        margin-bottom: 12px;
        line-height: 1.16;
        padding-inline: 4px;
        overflow: visible;
        text-overflow: initial;
        white-space: normal;
        overflow-wrap: normal;
        word-break: keep-all;
        hyphens: none;
        text-wrap: balance;
    }

    .project-card p {
        font-size: 0.9rem;
        line-height: 1.52;
        margin-bottom: 18px;
    }

    .project-tech {
        margin-bottom: 18px;
    }

    .pagination {
        margin-top: 16px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .pagination .btn {
        padding: 10px 16px;
        font-size: 0.72rem;
    }

    #pricing {
        padding: 34px 12px 18px;
    }

    .pricing-shell {
        border-radius: 24px;
        padding: 24px 14px 18px;
    }

    .pricing-shell h2 {
        font-size: clamp(1.9rem, 9vw, 2.5rem);
    }

    .pricing-grid {
        --pricing-carousel-card: min(430px, calc(100vw - 64px));
        margin-top: 16px;
        display: flex;
        grid-template-columns: none;
        gap: 14px;
        max-width: none;
        margin-left: -14px;
        margin-right: -14px;
        padding: 4px calc((100% - var(--pricing-carousel-card)) / 2) 14px;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: calc((100% - var(--pricing-carousel-card)) / 2);
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        scrollbar-width: none;
    }

    .pricing-grid::-webkit-scrollbar {
        display: none;
    }

    .pricing-card {
        flex: 0 0 var(--pricing-carousel-card);
        max-width: var(--pricing-carousel-card);
        scroll-snap-align: center;
        border-radius: 18px 38px 18px 38px;
        padding: 20px 18px 18px;
        min-height: auto;
        height: auto;
        text-align: center;
    }

    .pricing-card:hover,
    .pricing-card.is-expanded {
        border-radius: 18px 38px 18px 38px;
        padding: 20px 18px 18px;
    }

    .pricing-card h3 {
        font-size: 1.45rem;
    }

    .pricing-card-bestfit {
        max-width: 32ch;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.9rem;
    }

    .pricing-feature-list,
    .pricing-detail-list {
        width: min(100%, 330px);
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .pricing-card-details {
        display: none;
    }

    .pricing-mobile-checklist-wrap {
        display: none;
        margin-top: 20px;
    }

    .pricing-detail-btn {
        align-self: center;
    }

    .pricing-mobile-checklist-label {
        margin: 0 0 10px;
        font-size: 0.72rem;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        font-weight: 700;
        color: var(--text-soft);
        text-align: center;
    }

    .pricing-mobile-checklist {
        width: min(100%, 300px);
        margin: 0 auto;
        padding-left: 0;
        color: var(--text-soft);
        line-height: 1.42;
        list-style: none;
        text-align: left;
    }

    .pricing-mobile-checklist li + li {
        margin-top: 8px;
    }

    .pricing-details-label {
        text-align: center;
    }

    .pricing-card-action {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .pricing-book-btn {
        width: min(220px, 100%);
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-carousel-controls {
        margin: 16px auto 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .pricing-carousel-btn {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        border: 1px solid rgba(62, 207, 178, 0.3);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.72);
        color: var(--text-deep);
        box-shadow: 0 8px 18px rgba(15, 43, 37, 0.08);
        font-size: 1.45rem;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .pricing-carousel-btn:disabled {
        opacity: 0.38;
        cursor: default;
        box-shadow: none;
    }

    .pricing-carousel-dots {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .pricing-carousel-dot {
        width: 9px;
        height: 9px;
        padding: 0;
        border-radius: 999px;
        border: 0;
        background: rgba(18, 81, 68, 0.22);
        cursor: pointer;
        transition: width 0.2s ease, background 0.2s ease;
    }

    .pricing-carousel-dot.is-active {
        width: 9px;
        background: var(--primary-ethereal);
    }

    @media (max-width: 480px) {
        .pricing-shell {
            position: relative;
        }

        .pricing-carousel-controls {
            pointer-events: none;
        }

        .pricing-carousel-dots {
            pointer-events: auto;
        }

        .pricing-carousel-btn {
            position: absolute;
            top: var(--pricing-carousel-arrow-top, 560px);
            transform: translateY(-50%);
            z-index: 16;
            pointer-events: auto;
            width: 44px;
            height: 44px;
            flex-basis: 44px;
            border-color: rgba(62, 207, 178, 0.28);
            background: rgba(255, 255, 255, 0.72);
            box-shadow: 0 8px 18px rgba(15, 43, 37, 0.08);
            color: rgba(9, 48, 40, 0.78);
            font-size: 1.65rem;
            text-shadow: 0 1px 8px rgba(255, 255, 255, 0.92);
        }

        .pricing-carousel-btn[data-pricing-carousel-prev] {
            left: -10px;
        }

        .pricing-carousel-btn[data-pricing-carousel-next] {
            right: -10px;
        }

        .pricing-details-modal {
            align-items: end;
            padding: 12px;
        }

        .pricing-details-modal-panel {
            width: 100%;
            max-height: min(82vh, 680px);
            border-radius: 26px 26px 18px 18px;
            padding: 28px 22px 24px;
        }

        .pricing-details-modal-panel h3 {
            font-size: 1.45rem;
        }
    }

    .pricing-choice-row {
        margin-top: 14px;
        flex-direction: column;
        gap: 10px;
    }

    #pricing-choice-custom-website,
    #pricing-choice-automation {
        width: min(320px, 100%);
    }

    #contact {
        padding: 44px 12px 60px;
    }

    .contact-card {
        max-width: 100%;
        margin: 16px auto;
        padding: 34px 18px;
        border-radius: 24px;
        filter: none;
    }

    .contact-card h2 {
        font-size: clamp(2rem, 10vw, 2.6rem);
        letter-spacing: -0.8px;
        margin-bottom: 18px;
    }

    .contact-info {
        font-size: 1rem;
        margin-bottom: 26px;
    }

    .contact-social-link {
        width: 44px;
        height: 44px;
    }

    .contact-social-row {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-choice-label {
        margin-bottom: 10px;
    }

    .contact-choice-row {
        flex-direction: column;
        gap: 10px;
    }

    .agent-ready {
        padding: 12px 12px;
        border-radius: 16px;
    }

    .agent-ready-title {
        font-size: 0.88rem;
    }

    .agent-ready-copy {
        font-size: 0.8rem;
    }

    .agent-ready-links {
        font-size: 0.78rem;
        gap: 6px;
    }

    .btn.contact-choice-btn {
        width: min(320px, 100%);
        min-height: 52px;
    }

    #services-choice-pricing,
    .btn.project-services-btn,
    #back-to-projects {
        width: min(320px, 100%);
    }

    .bio-orb {
        width: 52px;
        height: 52px;
        right: 14px;
        bottom: max(16px, env(safe-area-inset-bottom));
    }

    .bio-orb svg {
        width: 24px;
        height: 24px;
    }

    .project-portal {
        gap: 8px;
        padding: 14px 8px 12px;
    }

    .portal-frame {
        width: calc(100% - 16px);
        height: 78dvh;
        border-radius: 22px;
    }

    .portal-controls {
        padding: 6px 10px;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Mobile Motion Tuning: smoother and less heavy than desktop timing */
    .hero-text-wrapper {
        transition:
            max-height 0.56s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.56s cubic-bezier(0.22, 1, 0.36, 1),
            margin-bottom 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    #hero-intro-content h1,
    #hero-intro-content .hero-tagline {
        transition:
            opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    }

    header p {
        transition: all 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
    }

    .hidden-transition {
        transition: all 0.92s cubic-bezier(0.22, 1, 0.36, 1);
    }

    #about-text,
    #client-text,
    .about-chapter,
    .client-panel {
        transition:
            opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .video-placeholder,
    .client-media-placeholder {
        transition:
            opacity 0.92s cubic-bezier(0.22, 1, 0.36, 1),
            max-height 0.92s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.92s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.3s ease;
    }

    .about-video,
    .client-media {
        transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .video-progress-container {
        transition:
            background 0.4s ease,
            border-color 0.4s ease,
            box-shadow 0.4s ease,
            opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .ready-to-advance .pill-controls::after {
        animation-duration: 1.4s;
    }

    .ready-to-advance .next-arrow {
        animation-duration: 1.28s;
    }

    #hero-path-chooser {
        transition:
            max-height 0.58s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
            margin-top 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .path-hub {
        transition: all 0.24s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .path-stem {
        transition:
            opacity 0.16s cubic-bezier(0.22, 1, 0.36, 1),
            stroke-dashoffset 0.24s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .path-curve {
        transition:
            opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1),
            stroke-dashoffset 0.44s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .path-option {
        transition:
            opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.16s ease;
    }

    .project-card {
        transition: all 0.48s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .project-card:nth-child(1),
    .project-card:nth-child(3),
    #hero-projects.absorbing .project-card:nth-child(1),
    #hero-projects.absorbing .project-card:nth-child(2),
    #hero-projects.absorbing .project-card:nth-child(3) {
        transition-duration: 0.42s;
    }

    #hero-projects.show-projects .project-card {
        transition-duration: 0.5s;
    }

    .project-card:hover {
        transform: scale(1.01);
    }

    .project-filter-sidebar {
        transition:
            opacity 0.28s ease,
            transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.24s ease;
    }

    .contact-card {
        transition:
            opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .project-portal {
        transition: all 0.46s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .portal-frame {
        transition: all 0.52s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .portal-controls {
        transition: all 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.16s;
    }
}

@media (max-width: 480px) {
    .brand-mark {
        top: 18px;
        left: 14px;
        font-size: 0.8rem;
    }

    .mobile-nav-toggle {
        top: 12px;
        right: 12px;
        width: 52px;
        height: 52px;
    }

    .lang-toggle {
        right: 68px;
    }

    nav {
        top: 76px;
        width: calc(100% - 12px);
        border-radius: 18px;
    }

    nav > a,
    .nav-item > a {
        min-height: 50px;
        font-size: 0.82rem;
        letter-spacing: 1.1px;
    }

    .nav-dropdown-item {
        min-height: 46px;
        font-size: 0.8rem;
    }

    header {
        padding: 96px 12px 36px;
    }

    header h1 {
        font-size: clamp(2rem, 10.5vw, 2.55rem);
        margin-bottom: 10px;
    }

    header p {
        font-size: 0.94rem;
        line-height: 1.36;
    }

    .about-chapter h2,
    #client-text h2 {
        font-size: clamp(1.55rem, 8vw, 1.95rem);
    }

    .karaoke-copy {
        font-size: 0.92rem;
    }

    .video-progress-container {
        left: 8px;
        right: 8px;
        bottom: 8px;
        height: 48px;
        border-radius: 26px;
        gap: 7px;
        padding: 0 8px;
        justify-content: space-between;
    }

    .pill-controls {
        width: 40px;
        height: 40px;
    }

    .chapter-indicator {
        font-size: 0.68rem;
        min-width: 22px;
    }

    .video-skill-chips {
        gap: 4px;
    }

    .video-skill-chips .skill-chip {
        font-size: 0.48rem;
        padding: 3px 6px;
        letter-spacing: 0.48px;
    }

    .project-filter-list {
        grid-template-columns: 1fr 1fr;
    }

    .filter-btn {
        font-size: 0.7rem;
    }

    .project-card {
        padding: 24px 16px;
    }

    .project-card h3 {
        font-size: clamp(1.3rem, 8.8vw, 1.75rem);
        line-height: 1.16;
        overflow-wrap: normal;
        word-break: keep-all;
        hyphens: none;
        text-wrap: balance;
    }

    .project-card p {
        font-size: 0.86rem;
    }

    .contact-card {
        padding: 30px 14px;
        border-radius: 20px;
    }

    .contact-card h2 {
        font-size: clamp(1.8rem, 11vw, 2.2rem);
    }

    .contact-info {
        font-size: 0.95rem;
    }

    .btn.contact-choice-btn {
        width: 100%;
    }
    #hero-intro-content {
        width: 100%;
        max-width: 100%;
    }

    #hero-intro-content .hero-text-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        padding-inline: 0;
    }

    #hero-intro-content .hero-text-wrapper h1 {
        max-width: 100%;
        font-size: 3rem;
        letter-spacing: 0;
        line-height: 1;
    }

    #hero-intro-content .hero-tagline {
        display: block;
        width: 100%;
        max-width: 320px;
        margin-inline: auto;
        line-height: 1.45;
        white-space: normal;
        text-wrap: balance;
    }
}
