@media (max-width: 1180px) {
  .mlsp-container {
    width: min(calc(100% - 40px), 1080px);
  }

  .mlsp-nav {
    gap: 18px;
  }

  .mlsp-nav a {
    font-size: 12px;
  }

  .mlsp-header__cta {
    display: none;
  }

  .mlsp-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
    gap: 32px;
  }

  .mlsp-hero h1 {
    font-size: clamp(48px, 5vw, 60px);
  }

  .mlsp-hero__visual {
    min-height: 420px;
  }

  .mlsp-project-carousel .mlsp-project-card {
    flex-basis: calc((100% - 22px) / 2);
  }

  .mlsp-contact-grid {
    grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
    gap: 32px;
  }


  .mlsp-footer__grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }

  .mlsp-footer__grid > div:last-child {
    display: none;
  }
}

@media (max-width: 1024px) {
  .mlsp-site {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .mlsp-hero {
    padding-top: 58px;
  }

  .mlsp-hero__grid {
    grid-template-columns: 1fr;
  }

  .mlsp-hero__copy {
    max-width: 760px;
    padding-bottom: 4px;
  }

  .mlsp-hero__visual {
    max-width: 780px;
    min-height: 0;
    margin-inline: auto;
  }

  .mlsp-hero__visual img {
    width: min(100%, 760px);
  }

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

  .mlsp-trust article {
    min-height: 118px;
    padding: 24px 26px;
  }

  .mlsp-trust article:nth-child(2) {
    border-right: 0;
  }

  .mlsp-trust article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--mlsp-border);
  }

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

  .mlsp-section-split,
  .mlsp-services-section .mlsp-section-split,
  .mlsp-process-section .mlsp-section-split,
  .mlsp-benefits-section .mlsp-section-split,
  .mlsp-testimonials-section .mlsp-section-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .mlsp-section-heading {
    max-width: 760px;
  }

  .mlsp-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .mlsp-services-section .mlsp-section-heading h2 {
    font-size: clamp(46px, 6vw, 60px);
  }

  .mlsp-service-card {
    min-height: 300px;
    padding: 26px 22px 24px;
    border-radius: 20px;
  }

  .mlsp-service-card h3 {
    margin: 22px 0 12px;
    font-size: 20px;
  }

  .mlsp-service-card p {
    font-size: 14px;
  }

  .mlsp-service-card a {
    bottom: 24px;
    left: 22px;
  }

  .mlsp-process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 24px;
  }

  .mlsp-process-grid article {
    padding: 0;
    border: 0;
  }

  .mlsp-process-arrow {
    display: none;
  }

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

  .mlsp-testimonials-track {
    grid-template-columns: 1fr;
  }

  .mlsp-contact-grid,
  .mlsp-contact-section.is-compact .mlsp-contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .mlsp-contact-copy {
    max-width: 640px;
  }

  .mlsp-contact-copy h2 {
    max-width: 580px;
  }

  .mlsp-contact-panel {
    width: 100%;
    max-width: 900px;
  }

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

  .mlsp-footer__grid > div:nth-last-child(-n + 2) {
    display: none;
  }

  .mlsp-subhero__grid,
  .mlsp-service-detail,
  .mlsp-about-story__grid,
  .mlsp-case-hero__grid,
  .mlsp-case-content,
  .mlsp-article-layout {
    grid-template-columns: 1fr;
  }

  .mlsp-subhero__art {
    max-width: 680px;
  }

  .mlsp-contact-hero__grid {
    gap: 34px;
  }

  .mlsp-contact-hub {
    max-width: 760px;
  }

  .mlsp-service-detail.is-reversed .mlsp-service-detail__image {
    order: 0;
  }

  .mlsp-service-detail__image {
    max-width: 760px;
  }


  .mlsp-page--about .mlsp-subhero__art img {
    max-height: none;
  }

  .mlsp-about-partnership__grid,
  .mlsp-about-partnership__cards {
    grid-template-columns: 1fr;
  }

  .mlsp-about-partnership {
    padding-top: 32px;
  }

  .mlsp-about-partnership__bridge {
    margin-bottom: 18px;
  }

  .mlsp-about-partnership__grid {
    padding: 28px 22px;
    gap: 28px;
  }

  .mlsp-about-partnership__intro {
    max-width: none;
  }

  .mlsp-about-partnership__cards article {
    padding: 22px 20px;
  }

  .mlsp-case-content aside,
  .mlsp-article-aside {
    position: static;
  }

  .mlsp-article-aside {
    max-width: 520px;
  }
}

@media (max-width: 860px) {
  .mlsp-nav {
    display: none;
  }

  .mlsp-header__cta {
    display: none;
  }

  .mlsp-menu-toggle {
    display: grid !important;
    margin-left: auto;
  }

  .mlsp-mobile-menu:not([hidden]) {
    display: block;
  }
}

@media (max-width: 782px) {
  .admin-bar .mlsp-header.is-sticky {
    top: 46px;
  }
}

@media (max-width: 760px) {
  .mlsp-service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .mlsp-container {
    width: min(calc(100% - 28px), var(--mlsp-container));
  }

  .mlsp-project-carousel .mlsp-project-card {
    flex-basis: 100%;
  }

  .mlsp-project-carousel__controls {
    width: fit-content;
    max-width: calc(100% - 8px);
    gap: 20px;
    margin: 18px auto 0;
  }

  .mlsp-site button.mlsp-project-carousel__button {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .mlsp-site button.mlsp-project-carousel__button::before {
    width: 22px;
    height: 22px;
  }

  .mlsp-project-carousel__dots {
    gap: 8px;
  }

  .mlsp-site button.mlsp-project-carousel__dot {
    width: 12px;
    height: 12px;
  }

  .mlsp-section {
    padding: 66px 0;
  }

  .mlsp-header__inner {
    height: 68px;
  }

  .mlsp-brand__mark {
    width: 26px;
    height: 22px;
  }

  .mlsp-brand__word {
    font-size: 17px;
  }

  .mlsp-hero {
    padding: 44px 0 14px;
  }

  .mlsp-hero h1 {
    font-size: clamp(39px, 12.2vw, 54px);
  }

  .mlsp-hero__copy > p {
    font-size: 16px;
  }

  .mlsp-hero__visual img {
    width: 108%;
    max-width: none;
  }

  .mlsp-actions {
    display: grid;
  }

  .mlsp-actions .mlsp-button {
    width: 100%;
  }

  .mlsp-trust__grid {
    grid-template-columns: 1fr;
  }

  .mlsp-trust article,
  .mlsp-trust article:nth-child(2) {
    min-height: 0;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--mlsp-border);
  }

  .mlsp-trust .mlsp-icon {
    width: 44px;
    height: 44px;
  }

  .mlsp-trust .mlsp-icon svg {
    width: 36px;
    height: 36px;
  }

  .mlsp-trust h3 {
    font-size: 16px;
  }

  .mlsp-trust p {
    font-size: 13px;
  }

  .mlsp-trust article:last-child {
    border-bottom: 0;
  }

  .mlsp-section-top {
    align-items: start;
    flex-direction: column;
  }

  .mlsp-section-top > a {
    white-space: normal;
  }

  .mlsp-project-grid,
  .mlsp-blog-grid,
  .mlsp-process-grid,
  .mlsp-benefits-grid,
  .mlsp-testimonials-grid,
  .mlsp-about-values {
    grid-template-columns: 1fr;
  }

  .mlsp-about-story__grid > div:first-child {
    padding: 28px 24px 30px;
  }

  .mlsp-service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mlsp-services-section .mlsp-section-heading h2 {
    font-size: clamp(42px, 10.5vw, 54px);
    line-height: 0.98;
  }

  .mlsp-service-card {
    min-height: 0;
    padding: 26px 22px 22px;
    border-radius: 20px;
  }

  .mlsp-service-card .mlsp-icon svg {
    width: 32px;
    height: 32px;
  }

  .mlsp-service-card h3 {
    margin: 20px 0 10px;
    font-size: 20px;
  }

  .mlsp-service-card p {
    max-width: none;
    font-size: 14px;
  }

  .mlsp-service-card a {
    position: static;
    margin-top: 20px;
  }

  .mlsp-process-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 20px;
  }

  .mlsp-process-head,
  .mlsp-process-grid .mlsp-icon {
    display: none;
  }

  .mlsp-process-grid article,
  .mlsp-process-grid article:nth-child(2) {
    border: 0;
  }

  .mlsp-process-grid h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 18px;
  }

  .mlsp-process-title-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    color: var(--mlsp-accent);
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
  }

  .mlsp-benefits-section .mlsp-section-split,
  .mlsp-testimonials-section .mlsp-section-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .mlsp-benefits-grid,
  .mlsp-testimonials-track {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .mlsp-form-grid {
    grid-template-columns: 1fr;
  }

  .mlsp-form-full {
    grid-column: 1;
  }

  .mlsp-contact-section {
    padding-block: 68px;
  }

  .mlsp-contact-copy h2 {
    font-size: clamp(38px, 10vw, 50px);
  }

  .mlsp-contact-panel {
    border-radius: 22px;
  }

  .mlsp-contact-form {
    padding: 26px 20px 24px;
  }

  .mlsp-contact-form__head {
    margin-bottom: 22px;
  }

  .mlsp-contact-form textarea {
    min-height: 108px;
  }

  .mlsp-contact-form__actions {
    align-items: flex-start;
    flex-direction: column;
  }


  .mlsp-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .mlsp-footer__brand {
    grid-column: 1 / -1;
  }

  .mlsp-footer__bottom {
    flex-direction: column;
  }

  .mlsp-subhero {
    padding: 68px 0 56px;
  }

  .mlsp-contact-hub__row,
  .mlsp-contact-hub__strip {
    grid-template-columns: 1fr;
  }

  .mlsp-contact-hub__strip {
    padding: 14px 16px;
  }

  .mlsp-contact-hub__strip span {
    justify-content: flex-start;
    text-align: left;
    padding-inline: 6px;
  }

  .mlsp-contact-hub__card {
    padding: 24px 22px;
  }

  .mlsp-contact-hub__card h3 {
    font-size: 24px;
  }

  .mlsp-subhero h1,
  .mlsp-section-heading h2,
  .mlsp-contact-copy h2,
  .mlsp-case-hero h1,
  .mlsp-article-hero h1 {
    font-size: clamp(36px, 10.8vw, 50px);
  }

  .mlsp-section-split .mlsp-section-heading h2 {
    font-size: clamp(36px, 10.2vw, 46px);
  }

  .mlsp-service-detail {
    padding: 38px 0;
  }

  .mlsp-service-detail h2 {
    font-size: 34px;
  }

  .mlsp-page--services .mlsp-subhero h1 {
    font-size: clamp(32px, 9.2vw, 40px);
    line-height: 1.02;
  }

  .mlsp-page--services .mlsp-service-detail h2 {
    font-size: 29px;
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .mlsp-page--services .mlsp-process-section .mlsp-section-heading h2,
  .mlsp-page--services .mlsp-contact-copy h2 {
    font-size: 30px;
    line-height: 1.05;
  }

  .mlsp-case-hero,
  .mlsp-article-hero {
    padding: 64px 0 58px;
  }

  .mlsp-back-link {
    margin-bottom: 30px;
  }

  .mlsp-case-cover,
  .mlsp-article-cover {
    margin-top: -20px;
  }

  .mlsp-case-cover img,
  .mlsp-article-cover img {
    border-radius: 18px;
  }

  .mlsp-article-layout {
    padding-top: 54px;
    padding-bottom: 76px;
  }

  .mlsp-article-content {
    font-size: 17px;
  }

  .mlsp-site img[style*="--mlsp-mobile-object-position"] {
    object-position: var(--mlsp-mobile-object-position, var(--mlsp-object-position, 50% 50%));
  }
}

@media (prefers-reduced-motion: reduce) {
  .mlsp-site * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
