@media (max-width: 1120px) {
    :root,
    [data-theme="dark"],
    [data-theme="light"] {
        --page-gutter: 24px;
    }

    .site-header__nav {
        display: none;
    }

    .site-header__menu {
        display: grid;
    }

    .hero__layout {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .hero__content {
        max-width: 590px;
        padding-top: 70px;
    }

    .hero__visual {
        inset: 0;
        opacity: 0.82;
    }

    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 0;
    }

    .stat:nth-child(2n)::after {
        display: none;
    }

    .solutions {
        padding: 80px 0 90px;
    }

    .solutions__inner {
        width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-width));
    }

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

    .solutions__grid .solutions-card:last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 14px);
        justify-self: center;
    }

    .solar__inner {
        width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-width));
        gap: 28px;
        padding: 72px 0;
    }

    .solar__callout {
        margin-right: 0;
    }

    .site-footer {
        padding: 40px 0 32px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-width));
        gap: 24px;
    }

    .site-footer__col {
        padding: 0;
    }

    .site-footer__col--nav {
        align-items: flex-start;
        justify-content: flex-start;
        border-top: 1px solid var(--arme-footer-divider);
        border-right: 0;
        border-bottom: 1px solid var(--arme-footer-divider);
        border-left: 0;
        padding: 20px 0;
    }

    .site-footer__nav-row {
        justify-content: flex-start;
    }

    .site-footer__copyright {
        padding-top: 20px;
    }

    .clients {
        padding: 72px 0;
    }

    .clients__inner {
        grid-template-columns: 1fr;
        width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-width));
        gap: 28px;
    }

    .clients__divider {
        display: none;
    }

    .clients__lead {
        max-width: 420px;
    }
}

@media (max-width: 720px) {
    :root,
    [data-theme="dark"],
    [data-theme="light"] {
        --arme-header-height: 64px;
        --page-gutter: 16px;
    }

    .hero {
        display: flex;
        flex-direction: column;
        min-height: calc(100svh - var(--arme-header-height));
        overflow: hidden;
        padding-bottom: 20px;
    }

    .hero::after {
        display: block;
        background: var(--arme-hero-veil-mobile);
    }

    .hero__layout {
        position: relative;
        z-index: 12;
        order: 1;
        width: calc(100% - 24px);
        min-height: auto;
    }

    .site-header__brand-copy {
        display: none;
    }

    .site-header__logo {
        height: 36px;
    }

    .hero__content {
        max-width: none;
        padding: 28px 0 8px;
    }

    .hero__title {
        font-size: clamp(3.2rem, 12vw, 5.2rem);
        line-height: 0.96;
    }

    .hero__description {
        max-width: none;
    }

    .hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 28px;
        max-width: none;
    }

    .hero__actions .button {
        width: 100%;
    }

    .hero__visual {
        position: absolute;
        top: 0%;
        right: 0;
        bottom: 8%;
        left: 0;
        z-index: 4;
        order: 0;
        width: auto;
        aspect-ratio: auto;
        margin: 0;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: none;
    }

    .hero__canvas {
        border-radius: 0;
        pointer-events: none;
        touch-action: none;
    }

    .hero__technical-ring,
    .hero__orbit-line,
    .hero__annotation,
    .hero__drag-hint {
        display: none;
    }

    .hero__stats {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        order: 2;
        z-index: 20;
        grid-template-columns: 1fr 1fr;
        width: calc(100% - 16px);
        margin: auto auto 0;
        padding: 12px;
    }

    .stat {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 10px;
    }

    .stat:not(:last-child)::after {
        display: none;
    }

    .stat__icon {
        width: 30px;
        height: 30px;
    }

    .stat__icon .material-symbols-outlined {
        font-size: 26px;
    }

    .stat__label {
        white-space: normal;
    }

    .solutions {
        padding: 64px 0 72px;
    }

    .solutions__inner {
        width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-width));
    }

    .solutions__header {
        margin-bottom: 40px;
    }

    .solutions__title {
        font-size: clamp(2.2rem, 10vw, 2.8rem);
    }

    .solutions__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .solutions__grid .solutions-card:last-child {
        grid-column: auto;
        max-width: none;
        justify-self: stretch;
    }

    .solutions-card {
        padding: 32px 24px 28px;
    }

    .solar {
        min-height: 520px;
    }

    .solar__inner {
        grid-template-columns: 1fr;
        width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-width));
        padding: 64px 0 72px;
    }

    .solar__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(3, 8, 18, 0.78) 0%,
                rgba(3, 8, 18, 0.55) 45%,
                rgba(3, 8, 18, 0.72) 100%
            );
    }

    .solar__callout {
        display: none;
    }

    .site-footer {
        padding: 36px 0 28px;
    }

    .site-footer__inner {
        width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-width));
        gap: 20px;
    }

    .site-footer__nav-pipe {
        display: none;
    }

    .site-footer__nav-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .site-footer__nav-row + .site-footer__nav-row {
        margin-top: 10px;
    }

    .site-footer__bottom {
        flex-wrap: wrap;
    }

    .clients {
        padding: 64px 0;
    }

    .clients__inner {
        width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-width));
        gap: 24px;
    }

    .clients__track {
        gap: 36px;
        padding-right: 36px;
    }
}

@media (max-width: 480px) {
    .hero__stats {
        gap: 8px 0;
    }

    .stat__value {
        font-size: 0.92rem;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
