@font-face {
  font-family: "Geist Responsive";
  src: url("../amplicore/assets/fonts/geist-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Geist Responsive";
  src: url("../amplicore/assets/fonts/geist-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Geist Responsive";
  src: url("../amplicore/assets/fonts/geist-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

.mobile-topbar,
.about-mobile-contacts,
.hello__mouth-tail {
  display: none;
}

@keyframes kapdes-mobile-portrait-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 52px, 0) scale(0.94);
  }
  72% {
    opacity: 1;
    transform: translate3d(0, -7px, 0) scale(1.015);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes kapdes-mobile-bubble-in {
  0% {
    opacity: 0;
    transform: translate3d(0, -18px, 0) scale(0.28);
  }
  68% {
    opacity: 1;
    transform: translate3d(0, 2px, 0) scale(1.035);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes kapdes-mobile-bubble-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0);
  }
  50% {
    transform: translate3d(0, -5px, 0) rotate(-0.2deg);
  }
}

@media (max-width: 1023px) {
  :root {
    --kapdes-safe-left: max(16px, env(safe-area-inset-left));
    --kapdes-safe-right: max(16px, env(safe-area-inset-right));
    --kapdes-surface: #151515;
    --kapdes-surface-strong: #202020;
    --kapdes-line: rgba(255, 255, 255, 0.1);
    --kapdes-muted: rgba(255, 255, 255, 0.56);
    --kapdes-green: #00ae4c;
    --kapdes-bright-green: #00e463;
  }

  html {
    scroll-padding-top: 88px;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    min-width: 320px;
    background:
      radial-gradient(circle at 50% 8%, rgba(0, 174, 76, 0.11), transparent 28rem),
      #000;
    font-family: "Geist Responsive", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
  }

  body {
    overflow-x: hidden;
  }

  a,
  button {
    -webkit-tap-highlight-color: transparent;
  }

  .stage {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 100dvh;
    overflow: visible;
    background: transparent;
  }

  .canvas,
  .mvp-canvas,
  .about-canvas,
  .territory-canvas {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    min-height: 100dvh;
    padding: max(12px, env(safe-area-inset-top)) var(--kapdes-safe-right) max(48px, env(safe-area-inset-bottom)) var(--kapdes-safe-left);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    transform: none !important;
    background: transparent;
  }

  .sidebar {
    display: contents;
  }

  .mobile-topbar {
    position: sticky;
    z-index: 90;
    top: max(10px, env(safe-area-inset-top));
    order: 0;
    width: min(100%, 760px);
    min-height: 56px;
    margin: 0 auto 28px;
    padding: 5px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.78);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.05);
  }

  .mobile-topbar a {
    min-width: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.25px;
  }

  .mobile-topbar a:first-child {
    background: linear-gradient(105deg, #00a747, #00d75e);
    box-shadow: 0 8px 24px rgba(0, 174, 76, 0.22), inset 0 1px rgba(255, 255, 255, 0.16);
  }

  .mobile-topbar a:last-child {
    background: rgba(255, 255, 255, 0.08);
  }

  .portrait,
  .mvp-portrait-link {
    order: 1;
    align-self: center;
    animation: kapdes-mobile-portrait-in 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .portrait {
    position: relative;
    z-index: 4;
    left: auto;
    top: auto;
    width: clamp(230px, 68vw, 300px);
    height: auto;
    aspect-ratio: 1;
    display: block;
    isolation: isolate;
  }

  .portrait::before,
  .mvp-portrait-link::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 12% 6% 2%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 228, 99, 0.2), rgba(0, 174, 76, 0.04) 58%, transparent 72%);
    filter: blur(16px);
  }

  .portrait__top,
  .portrait__bottom {
    left: 0;
    width: 100%;
    object-fit: fill;
  }

  .portrait__top {
    top: 0;
    height: 76.06%;
  }

  .portrait__bottom {
    top: 76.06%;
    height: 23.94%;
  }

  .hello {
    --kapdes-bubble-x: 0px;
    position: relative;
    z-index: 5;
    left: auto;
    top: auto;
    order: 2;
    align-self: center;
    width: min(100%, 330px);
    height: 126px;
    aspect-ratio: auto;
    margin: -22px 0 0;
    padding: 16px 20px;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    background: linear-gradient(145deg, #00c957 0%, #00aa49 100%);
    box-shadow:
      0 20px 55px rgba(0, 190, 82, 0.18),
      inset 0 1px rgba(255, 255, 255, 0.18);
    font-size: clamp(22px, 6.7vw, 28px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -1.05px;
    opacity: 0;
    transform-origin: 50% -24px;
    animation:
      kapdes-mobile-bubble-in 800ms 700ms cubic-bezier(0.16, 1, 0.3, 1) both,
      kapdes-mobile-bubble-float 5.2s 1.5s ease-in-out infinite;
  }

  .hello__shape {
    display: none;
  }

  .hello__mouth-tail {
    --kapdes-tail-height: clamp(38px, 11vw, 48px);
    position: absolute;
    top: calc(3px - var(--kapdes-tail-height));
    left: 50%;
    width: clamp(48px, 13.5vw, 58px);
    height: var(--kapdes-tail-height);
    display: block;
    overflow: visible;
    fill: #00c957;
    filter: drop-shadow(0 -10px 16px rgba(0, 190, 82, 0.12));
    pointer-events: none;
    transform: translateX(-50%);
  }

  .hello__copy {
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: flex-start;
  }

  .hello__copy b {
    width: 100%;
    text-align: left;
  }

  .profile-copy {
    position: relative;
    z-index: 3;
    left: auto;
    top: auto;
    order: 3;
    align-self: center;
    width: min(100%, 760px);
    height: auto;
    margin: 18px 0 0;
    justify-content: flex-start;
    align-items: center;
    font-size: clamp(28px, 8vw, 46px);
    line-height: 1.02;
    letter-spacing: -1.8px;
    text-align: center;
    white-space: normal;
  }

  .profile-copy > span,
  .profile-copy > span .serega-gentle__unit {
    color: rgba(255, 255, 255, 0.5);
  }

  .profile-copy > strong,
  .profile-copy > strong .serega-gentle__unit {
    color: #fff;
  }

  .ticker {
    position: relative;
    z-index: 12;
    left: auto;
    top: auto;
    order: 4;
    align-self: center;
    width: min(100%, 920px);
    height: 64px;
    margin: 38px 0 0;
    padding: 6px;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    background: rgba(35, 35, 35, 0.92);
  }

  .ticker__lead {
    flex: 0 0 54px;
    width: 54px;
    height: 52px;
    border-radius: 19px;
    font-size: 10px;
  }

  .ticker__viewport {
    flex: 1 1 auto;
    width: auto;
    height: 37px;
  }

  .ticker__marquee {
    left: 0;
  }

  .ticker__track {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .cases,
  .mvp-page,
  .about-page,
  .territory-page {
    order: 5;
    align-self: center;
    width: min(100%, 920px);
  }

  .cases {
    position: relative;
    z-index: 1;
    left: auto;
    top: auto;
    height: auto;
    margin: 54px 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: dense;
    gap: 32px;
  }

  .case {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-width: 0;
    scroll-margin-top: 8px;
  }

  .case--mobile {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: dense;
    gap: 32px;
  }

  .mobile-case {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  .mobile-case,
  .cases > .case:not(.case--mobile) {
    height: 100%;
    padding: 8px 8px 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    background:
      radial-gradient(circle at 50% 0, rgba(0, 196, 85, 0.065), transparent 42%),
      linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
    box-shadow:
      0 22px 56px rgba(0, 0, 0, 0.28),
      inset 0 1px rgba(255, 255, 255, 0.045);
  }

  .cases > .case:not(.case--mobile) {
    display: flex;
    flex-direction: column;
  }

  .mobile-case > img {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    max-width: 100%;
    display: block;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: #070907;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  }

  .case__visual {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: #070907;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  }

  .case__visual--amplicore,
  .case__visual--crm,
  .case__visual--moderator {
    height: auto;
  }

  .case__screen,
  .case__screen--amplicore,
  .case__screen--crm,
  .case__screen--moderator {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
  }

  .case-copy,
  .case-copy--mobile,
  .case-copy--detail,
  .case-copy--wide,
  .case--amplicore .case-copy--detail {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    margin: 18px 0 0;
    padding: 0 10px 2px;
    gap: 10px;
    font-size: clamp(20px, 5.5vw, 25px);
    line-height: 1.1;
    letter-spacing: -0.7px;
  }

  .case-copy strong,
  .case-copy--wide > span {
    line-height: 1.12;
    white-space: normal;
    text-wrap: balance;
  }

  .case-copy > span,
  .case-copy--detail > span,
  .case-copy--mobile > span {
    color: var(--kapdes-muted);
    font-size: clamp(15px, 4.2vw, 18px);
    line-height: 1.38;
    letter-spacing: -0.25px;
  }

  .kapdes-video-toggle,
  .kapdes-video-fullscreen {
    bottom: 12px;
    width: 48px;
    height: 48px;
  }

  .kapdes-video-toggle {
    right: 68px;
  }

  .kapdes-video-fullscreen {
    right: 12px;
  }

  html.kapdes-gsap-mobile .portrait,
  html.kapdes-gsap-mobile .mvp-portrait-link,
  html.kapdes-gsap-mobile .hello {
    animation: none;
  }

  .project-list {
    position: relative;
    z-index: 8;
    left: auto;
    top: auto;
    order: 6;
    align-self: center;
    width: min(100%, 920px);
    margin: 76px 0 0;
    padding: 22px 18px 18px;
    display: block;
    border: 1px solid var(--kapdes-line);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  }

  .project-list__title {
    height: auto;
    margin: 0 0 18px;
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1;
    letter-spacing: -1px;
  }

  .project-link {
    min-height: 72px;
    height: auto;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    border-radius: 16px;
  }

  .project-link + .project-link {
    margin-top: 10px;
  }

  .project-link__mark,
  .project-link__mark img,
  .mvp-canvas .project-link__mark,
  .mvp-canvas .project-link__mark img,
  .mvp-canvas .project-link__mark--territory img,
  .mvp-canvas .project-link__mark--amplicore img {
    width: 54px;
    height: 54px;
    border-radius: 12px;
  }

  .project-link b,
  .mvp-canvas .project-link b {
    font-size: 18px;
    line-height: 1.15;
    letter-spacing: -0.55px;
  }

  .project-link small,
  .mvp-canvas .project-link small {
    font-size: 14px;
    line-height: 1.25;
    letter-spacing: -0.2px;
  }

  .mvp-card {
    position: relative;
    z-index: 7;
    left: auto;
    top: auto;
    order: 7;
    align-self: center;
    width: min(100%, 920px);
    height: auto;
    min-height: 196px;
    margin: 22px 0 0;
    padding: 24px;
    border: 1px solid rgba(0, 228, 99, 0.18);
    border-radius: 24px;
    background:
      radial-gradient(circle at 100% 0, rgba(0, 228, 99, 0.13), transparent 45%),
      #171717;
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.08;
    letter-spacing: -1.2px;
  }

  .mvp-card span {
    max-width: 700px;
  }

  .mvp-card strong {
    margin-top: 30px;
    font-size: 0.78em;
    letter-spacing: -0.65px;
  }

  .side-nav,
  .mvp-canvas .side-nav {
    position: relative;
    z-index: 9;
    left: auto;
    top: auto;
    order: 8;
    align-self: center;
    width: min(100%, 920px);
    height: auto;
    margin: 22px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(58px, auto));
    grid-auto-rows: minmax(58px, auto);
    gap: 8px;
  }

  .side-nav button,
  .side-nav a {
    min-width: 0;
    min-height: 58px;
    padding: 10px 12px;
    border-radius: 18px;
    font-size: clamp(17px, 5vw, 22px);
    line-height: 1;
    letter-spacing: -0.6px;
  }

  .contact-modal {
    padding: max(12px, env(safe-area-inset-top)) var(--kapdes-safe-right) max(12px, env(safe-area-inset-bottom)) var(--kapdes-safe-left);
  }

  .contact-dialog {
    width: min(100%, 620px);
    min-height: 0;
    max-height: calc(100dvh - 24px);
    padding: 28px 14px 18px;
    border-radius: 28px;
  }

  .contact-dialog h2 {
    margin: 5px 64px 24px 12px;
    font-size: 38px;
    letter-spacing: -1.5px;
  }

  .contact-close {
    top: 14px;
    right: 14px;
    width: 48px;
    height: 48px;
  }

  .contact-close svg {
    width: 25px;
    height: 25px;
  }

  .contact-list {
    gap: 5px;
  }

  .contact-item,
  .contact-item--portfolio {
    min-height: 72px;
    margin: 0;
    padding: 9px 12px;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    border-radius: 16px;
  }

  .contact-item--portfolio {
    margin-top: 8px;
  }

  .contact-item__icon,
  .contact-item__icon svg {
    width: 38px;
    height: 38px;
  }

  .contact-item__copy {
    gap: 5px;
  }

  .contact-item small {
    font-size: 13px;
    letter-spacing: -0.15px;
  }

  .contact-item strong {
    font-size: clamp(15px, 4.3vw, 20px);
    letter-spacing: -0.5px;
  }

  .mvp-portrait-link {
    position: relative;
    z-index: 4;
    left: auto;
    top: auto;
    width: clamp(190px, 52vw, 250px);
    height: auto;
    aspect-ratio: 1;
    display: block;
  }

  .mvp-portrait {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .mvp-portrait img,
  .mvp-portrait--top img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
  }

  .mvp-portrait--bottom {
    display: none;
  }

  .mvp-canvas .profile-copy {
    margin-top: 16px;
  }

  .mvp-canvas .project-list {
    left: auto;
    top: auto;
    width: min(100%, 920px);
    height: auto;
  }

  .mvp-page {
    position: relative;
    inset: auto;
    height: auto;
    margin: 54px 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: dense;
    gap: 58px;
    pointer-events: auto;
  }

  .mvp-hero {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 820px);
    margin: 0;
    transform: none;
    font-size: clamp(30px, 7.8vw, 54px);
    line-height: 0.98;
    letter-spacing: -1.7px;
    text-wrap: balance;
    word-break: normal;
  }

  .mvp-case,
  .mvp-case--biotech,
  .mvp-case--amplicore {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  .mvp-case__visual {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--kapdes-line);
    border-radius: 20px;
    background: #0b0b0b;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
    pointer-events: auto;
  }

  .mvp-case__base,
  .mvp-case__overlay,
  .mvp-case__base--rounded {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
  }

  .mvp-case__base img,
  .mvp-case__base video,
  .mvp-case__overlay img,
  .mvp-case__overlay video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
  }

  .mvp-copy {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin: 18px 0 0;
    gap: 9px;
    font-size: clamp(19px, 5.5vw, 27px);
    line-height: 1.1;
    letter-spacing: -0.7px;
    pointer-events: auto;
  }

  .mvp-copy strong {
    line-height: 1.12;
    white-space: normal;
  }

  .mvp-copy p {
    width: 100%;
    color: var(--kapdes-muted);
    font-size: 0.82em;
    line-height: 1.38;
    letter-spacing: -0.25px;
  }

  .about-page {
    position: relative;
    inset: auto;
    height: auto;
    margin: 52px 0 0;
    pointer-events: auto;
  }

  .about-copy {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 800px);
    margin: 0;
    font-size: clamp(29px, 7.6vw, 50px);
    line-height: 1.04;
    letter-spacing: -1.55px;
    text-wrap: pretty;
  }

  .about-copy > span {
    display: inline;
    white-space: normal;
  }

  .about-copy > span::after {
    content: " ";
  }

  .about-copy > .about-copy__break {
    margin-top: 28px;
    display: block;
  }

  .about-mobile-contacts {
    width: min(100%, 800px);
    margin: 36px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .about-mobile-contacts a {
    min-width: 0;
    min-height: 52px;
    padding: 10px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--kapdes-line);
    border-radius: 16px;
    background: var(--kapdes-surface);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
  }

  .about-mobile-contacts a:first-child {
    border-color: rgba(0, 228, 99, 0.22);
    background: var(--kapdes-green);
  }

  .territory-page {
    position: relative;
    left: auto;
    top: auto;
    height: auto;
    margin: 52px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .territory-copy {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 760px);
    align-self: center;
  }

  .territory-status {
    min-height: 44px;
    padding-inline: 16px;
    font-size: 14px;
  }

  .territory-title {
    margin: 24px 0 16px;
    font-size: clamp(48px, 13vw, 78px);
    line-height: 0.92;
    letter-spacing: -3.5px;
    text-wrap: balance;
  }

  .territory-description {
    width: 100%;
    font-size: clamp(25px, 7vw, 40px);
    line-height: 1.08;
    letter-spacing: -1.35px;
    text-wrap: balance;
  }

  .territory-back {
    min-height: 54px;
    margin-top: 28px;
    padding: 15px 20px;
    border-radius: 16px;
    font-size: 18px;
  }

  .territory-video-shell {
    position: relative;
    right: auto;
    top: auto;
    width: min(100%, 430px);
    height: auto;
    aspect-ratio: 383 / 850;
    margin: 44px auto 0;
    padding: 6px;
    border-radius: clamp(34px, 10vw, 52px);
    box-shadow: 0 36px 100px rgba(255, 73, 0, 0.17);
  }

  .territory-video {
    border-radius: clamp(28px, 8.7vw, 46px);
  }

  .portrait:focus-visible,
  .hello:focus-visible,
  .mvp-card:focus-visible,
  .project-link:focus-visible,
  .side-nav a:focus-visible,
  .side-nav button:focus-visible,
  .ticker__lead:focus-visible,
  .mobile-topbar a:focus-visible,
  .about-mobile-contacts a:focus-visible {
    outline-color: var(--kapdes-bright-green);
    outline-offset: 3px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --kapdes-safe-left: max(32px, env(safe-area-inset-left));
    --kapdes-safe-right: max(32px, env(safe-area-inset-right));
  }

  .canvas,
  .mvp-canvas,
  .about-canvas,
  .territory-canvas {
    padding-top: max(18px, env(safe-area-inset-top));
    padding-bottom: max(64px, env(safe-area-inset-bottom));
  }

  .portrait {
    width: 300px;
  }

  .hello {
    width: 340px;
  }

  .profile-copy {
    font-size: 46px;
  }

  .cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .case--mobile {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .case--amplicore {
    grid-column: 1 / -1;
  }

  .mobile-case,
  .cases > .case:not(.case--mobile) {
    min-height: 100%;
  }

  .case-copy,
  .case-copy--mobile,
  .case-copy--detail,
  .case-copy--wide,
  .case--amplicore .case-copy--detail {
    font-size: 21px;
  }

  .project-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 12px;
  }

  .project-list__title {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }

  .project-link,
  .mvp-canvas .project-link {
    min-height: 82px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.035);
  }

  .project-link + .project-link {
    margin-top: 0;
  }

  .side-nav,
  .mvp-canvas .side-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: minmax(58px, auto);
  }

  .mvp-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px 24px;
  }

  .mvp-hero {
    grid-column: 1 / -1;
    font-size: 48px;
  }

  .mvp-copy {
    font-size: 21px;
  }

  .about-page,
  .about-copy,
  .about-mobile-contacts {
    margin-right: auto;
    margin-left: auto;
  }

  .about-copy {
    font-size: 50px;
  }
}

@media (max-width: 420px) {
  .hello {
    width: min(100%, 330px);
  }

  .ticker {
    margin-top: 32px;
  }

  .about-mobile-contacts {
    grid-template-columns: 1fr;
  }

  .about-mobile-contacts a {
    min-height: 48px;
  }

  .territory-title {
    font-size: clamp(43px, 12.5vw, 54px);
    letter-spacing: -2.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .portrait,
  .mvp-portrait-link,
  .hello {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .mobile-topbar,
  .mobile-topbar *,
  .cases *,
  .mvp-page *,
  .about-page *,
  .territory-page *,
  .project-list *,
  .mvp-card,
  .side-nav * {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .ticker__marquee {
    animation: none !important;
    transform: none !important;
  }
}
