@media (max-width: 900px) {
    :root {
        --nav-height: 70px;
    }

    .container,
    .navbar-inner {
        width: min(calc(100% - 32px), var(--container));
    }

    .section {
        padding: 100px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 16px;
        right: 16px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: rgba(10, 10, 10, 0.94);
        border: 1px solid var(--border);
        border-radius: 18px;
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition:
            opacity 250ms ease,
            visibility 250ms ease,
            transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        display: block;
        padding: 14px 15px;
        border-radius: 10px;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .nav-link::after {
        display: none;
    }

    .hero-title {
        font-size: clamp(4rem, 14vw, 7rem);
    }

    .hero-meta {
        max-width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .prixx-card {
        min-height: 420px;
        padding: 45px;
    }
}

@media (max-width: 600px) {
    html {
        scroll-padding-top: 75px;
    }

    :root {
        --nav-height: 65px;
    }

    .container,
    .navbar-inner {
        width: calc(100% - 28px);
    }

    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 45px;
    }

    .section-title {
        font-size: clamp(2.3rem, 12vw, 4rem);
    }

    .logo {
        font-size: 0.8rem;
        letter-spacing: 0.1em;
    }

    .logo-mark {
        width: 28px;
        height: 28px;
    }

    .hero {
        min-height: 100svh;
    }

    .hero-eyebrow {
        font-size: 0.65rem;
    }

    .hero-title {
        font-size: clamp(3.4rem, 18vw, 6rem);
        letter-spacing: -0.075em;
    }

    .hero-subtitle {
        margin-top: 25px;
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 30px;
    }

    .btn {
        width: 100%;
    }

    .hero-meta {
        grid-template-columns: 1fr;
        margin-top: 50px;
    }

    .hero-meta-item,
    .hero-meta-item:not(:first-child) {
        padding: 15px 0;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .hero-meta-item:last-child {
        border-bottom: 0;
    }

    .about-text {
        font-size: 1rem;
        line-height: 1.8;
    }

    .profile-card {
        padding: 23px;
    }

    .timeline-item {
        padding-left: 50px;
        padding-bottom: 50px;
    }

    .timeline::before {
        left: 12px;
    }

    .timeline-dot {
        left: 6px;
    }

    .timeline-title {
        font-size: 1.25rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-category {
        padding: 23px;
    }

    .project-card {
        min-height: 400px;
        padding: 24px;
    }

    .project-title {
        font-size: 1.8rem;
    }

    .project-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat {
        padding: 28px 18px;
        border-bottom: 1px solid var(--border);
    }

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(3),
    .stat:nth-child(4) {
        border-bottom: 0;
    }

    .stat-value {
        font-size: 2.7rem;
    }

    .interest-item {
        padding: 22px 0;
    }

    .interest-title {
        font-size: 1.45rem;
    }

    .interest-arrow {
        font-size: 1.1rem;
    }

    .prixx-section {
        padding: 90px 0;
    }

    .prixx-card {
        min-height: 430px;
        padding: 30px;
    }

    .prixx-title {
        font-size: clamp(4rem, 22vw, 7rem);
    }

    .prixx-description {
        font-size: 0.95rem;
    }

    .contact-title {
        font-size: clamp(3rem, 17vw, 5rem);
    }

    .contact-grid {
        gap: 40px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .cursor-glow {
        display: none;
    }

    .scroll-indicator {
        bottom: 20px;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 3.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .project-card {
        min-height: 380px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat,
    .stat:nth-child(2),
    .stat:nth-child(3),
    .stat:nth-child(4) {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .stat:last-child {
        border-bottom: 0;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 650px;
    }

    .scroll-indicator {
        display: none;
    }
}