@media (max-width: 799px) {

    html,
    body {
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    body {
        min-width: 320px;
    }

    main {
        width: 100%;
        height: auto;
        min-height: 100vh;
        margin-left: 0;
        overflow: visible;
        display: block;
        padding-top: 46px;
    }

    main>section,
    .panel {
        width: 100%;
        height: auto;
        min-height: auto;
        overflow: visible;
        transform: none;
        transition: none;
        scroll-margin-top: 56px;
    }

    .top-bar,
    .hero-arrow,
    .panel-arrow,
    .work-track-arrow {
        display: none;
    }

    .side-menu {
        width: 100%;
        height: 56px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 14px;
        box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
        z-index: 80;
    }

    .side-logo img {
        width: 82px;
    }

    .mobile-menu-toggle {
        display: flex;
        width: 28px;
        height: 23px;
    }

    .mobile-menu-toggle span {
        height: 3px;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .side-nav {
        display: none;
    }

    .side-menu.is-open {
        align-items: flex-start;
        height: 264px;
        padding-top: 14px;
        background: rgba(181, 233, 59, 0.9);
        border-radius: 0 0 24px 24px;
    }

    .side-menu.is-open .side-nav {
        position: fixed;
        top: 56px;
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 22px;
        margin: 0;
        padding: 8px 0 24px;
        background: transparent;
    }

    .side-menu.is-open .side-nav li {
        width: auto;
        height: auto;
    }

    .side-menu.is-open .side-nav a {
        transform: none;
        color: var(--dark);
        font-size: 16px;
        letter-spacing: 0;
    }

    .side-menu.is-open .side-nav a:hover {
        color: var(--white);
    }

    .side-menu.is-open .side-nav a.is-active {
        color: var(--green);
        -webkit-text-stroke: 1px var(--dark);
    }

    .mobile-language-item {
        display: none;
    }

    .side-menu.is-open .mobile-language-item {
        display: block;
    }

    .side-menu.is-open .language-switch {
        color: var(--dark);
        font-size: 16px;
    }

    .side-menu.is-open .language-switch button {
        color: var(--dark);
    }

    .side-menu.is-open .language-switch button:hover,
    .side-menu.is-open .language-switch button.is-active {
        color: var(--green);
        -webkit-text-stroke: 1px var(--dark);
    }

    .side-menu.is-open .mobile-menu-toggle {
        margin-top: 2px;
    }

    .side-menu.is-open .mobile-menu-toggle span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .side-menu.is-open .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .side-menu.is-open .mobile-menu-toggle span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .hero {
        min-height: calc(100svh - 56px);
        background: radial-gradient(circle at 50% 48%, #222 0%, #0d0d0d 56%, #050505 100%);
    }

    .hero-container {
        min-height: calc(100svh - 56px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 12px 16px 34px;
    }

    .hero-image {
        width: min(86vw, 318px);
        height: auto;
        max-height: 58svh;
        object-fit: contain;
    }

    .hero-text {
        position: static;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 6px;
        text-align: center;
    }

    .hero-text p {
        order: -1;
        color: var(--green);
        -webkit-text-stroke: 0;
        font-size: clamp(16px, 5vw, 20px);
        line-height: 1;
        text-transform: uppercase;
        margin: 0 0 8px;
    }

    .hero-text h1 {
        font-size: clamp(30px, 10vw, 44px);
        line-height: 1;
    }

    .hero-location {
        display: block;
        color: var(--white);
        font-size: 16px;
        line-height: 1;
        margin-top: 8px;
    }

    .why-me,
    .skills,
    .work,
    .references,
    .contact {
        padding: 42px 20px 52px;
        background: radial-gradient(circle at 55% 42%, #292929 0%, #191919 50%, #0b0b0b 100%);
    }

    .why-title-vertical,
    .skills-title-vertical,
    .work-title-vertical,
    .references-title-vertical,
    .contact-title-vertical {
        position: static;
        display: block;
        transform: none;
        writing-mode: horizontal-tb;
        color: transparent;
        -webkit-text-stroke: 1px var(--green);
        font-size: clamp(25px, 8vw, 34px);
        line-height: 1;
        margin: 0 0 26px;
        white-space: normal;
    }

    .why-content,
    .skills-content {
        position: static;
        width: 100%;
    }

    .why-intro,
    .skills-intro {
        max-width: none;
        font-size: 16px;
        line-height: 1.35;
        text-align: left;
    }

    .why-content h2 {
        margin: 18px 0 22px;
        color: var(--green);
        font-size: 30px;
        text-align: center;
    }

    .why-icons {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .why-item {
        min-width: 0;
        font-size: 14px;
    }

    .why-item:first-child {
        display: none;
    }

    .why-icon {
        width: 52px;
        height: 54px;
        margin-bottom: 8px;
    }

    .why-icon img {
        max-width: 52px;
        max-height: 54px;
    }

    .button-primary {
        min-width: 112px;
        height: 34px;
        margin: 30px auto 0;
        padding: 0 22px;
        font-size: 14px;
    }

    .skills {
        padding-top: 60px;
    }

    .skills-intro {
        margin-bottom: 34px;
        text-align: justify;
    }

    .skills-grid {
        width: 100%;
        grid-template-columns: repeat(3, minmax(62px, 1fr));
        column-gap: 24px;
        row-gap: 22px;
        justify-items: center;
    }

    .skill-item {
        width: 70px;
        gap: 6px;
        font-size: 14px;
    }

    .skill-item img {
        width: 46px;
        height: 46px;
    }

    .skill-item span {
        display: none;
    }

    .skill-item:last-of-type span {
        display: block;
    }

    .skills-note {
        grid-column: 1 / -1;
        grid-row: auto;
        width: 100%;
        margin-top: 10px;
        font-size: 16px;
        line-height: 1.25;
        text-align: left;
    }
}
