@font-face {
  font-family: Manrope;
  src: url("manrope-regular-cyrillic.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: Manrope;
  src: url("manrope-regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "SB Sans Display";
  src: url("sb-sans-display-regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --blue: #0078ea;
  --edge: clamp(24px, 5.556vw, 80px);
  --line: #ededed;
  --muted: #696969;
  --footer: #000;
  --content: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { color: #000; background: #fff; }
body { margin: 0; font: 400 16px/1.4 Manrope, Arial, sans-serif; font-synthesis: none; }
h1, h2, h3, h4, p, figure, dl, dd, ul { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; }
a { color: inherit; text-decoration: none; }
button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, video:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
img { display: block; }
.copy { white-space: pre-line; overflow-wrap: break-word; }
.copy a { text-decoration: underline; text-underline-offset: .13em; }
.wrap { width: min(var(--content), calc(100% - var(--edge) * 2)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: -80px; left: 12px; background: #fff; padding: 12px; }
.skip:focus { top: 12px; }

.site-header { position: relative; z-index: 2; }
.header-bar {
  height: 86px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.brand { display: inline-flex; gap: 12px; align-items: center; justify-self: start; }
.brand-symbol, .brand-word { display: none; }
.main-nav { display: flex; gap: 40px; transform: translateX(-19.5px); }
.main-nav a:hover, .contact-link:hover { color: var(--blue); }
.button {
  min-height: 54px;
  padding: 0 32px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 16px;
  line-height: 22px;
  white-space: nowrap;
}
.button-plain { color: #000; background: #efefef; }
.button-plain:hover { background: #e2e2e2; }
.button-white { color: #000; background: #fff; }
.button-white:hover { background: #ededed; }
.button-blue { color: #fff; background: var(--blue); }
.button-blue:hover { background: #0066c9; }
.button-blue .arrow { filter: invert(1); }
.header-actions { display: flex; align-items: center; justify-self: end; gap: 24px; }
.header-cta { width: 106px; min-height: 38px; padding-inline: 16px; background: #0071e3; }
.language-switch { min-width: 51px; min-height: 38px; padding-inline: 16px; background: #eee; }
.language-switch:hover { background: #e2e2e2; }
.menu-toggle { display: none; }
.skill summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

.site-footer { background: var(--footer); color: #fff; }
.footer-content {
  min-height: 900px;
  padding-block: 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.footer-top { display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; }
.footer-message { width: min(550px, 50%); display: grid; gap: 64px; justify-items: start; }
.footer-heading { display: grid; gap: 24px; }
.footer-heading h2 { font-size: 48px; line-height: 1.2; }
.footer-links a { line-height: 22px; }
.footer-heading p, .copyright { line-height: 22.4px; }
.footer-presentation { width: 191px; border-radius: 64px; background: #f0f0f0; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(440px, 46%);
}
.footer-links nav { display: grid; gap: 16px; align-content: start; justify-items: start; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.copyright { color: #808080; }

.landing { display: grid; padding-top: 74px; padding-bottom: 240px; gap: 160px; }
.landing.home { gap: 240px; }
.home-intro { display: grid; justify-items: start; gap: 80px; }
.page-intro { display: grid; gap: 24px; justify-items: start; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.work-card { min-width: 0; display: grid; gap: 12px; align-content: start; }
.card-cover { position: relative; }
.card-art-link { display: block; }
.card-open { position: absolute; z-index: 1; border-radius: 50%; }
.card-arrow { pointer-events: none; transition: transform 180ms ease; }
.card-open:focus-visible .card-arrow { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) {
  .work-card:hover .card-arrow { transform: rotate(45deg); }
}
@media (prefers-reduced-motion: reduce) {
  .card-arrow { transition: none; }
}
.copy .direction-link, .card-title a { text-decoration: none; }
.filter-title { font-size: 48px; line-height: 1.2; }
.filter-reset { text-decoration: underline; text-underline-offset: .2em; }
.wide-card { grid-column: 1 / -1; }
.card-caption { display: grid; gap: 4px; }
.callout { display: grid; grid-template-columns: minmax(145px, 20%) minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.callout-content { min-width: 0; }
.callout-button { margin-left: 32px; }

.skills > .section-label { margin-bottom: 24px; font-size: 16px; line-height: 23px; }
.skill { border-bottom: 1px solid var(--line); }
.skill summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 95px;
  padding-block: 20px;
  font-size: 40px;
  line-height: 1.4;
}
.skill-arrow { flex-shrink: 0; margin-right: 12px; }
.skill:not([open]) .skill-arrow { transform: rotate(180deg); }
.skill-mark { display: none; }
.skill ul { list-style: none; padding: 1px 0 39px; font-size: 24px; line-height: 1.4; }

.logo-strip {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  grid-template-rows: repeat(2, 200px);
}
.logo-strip img { width: 100%; height: 100%; object-fit: contain; grid-column: span 2; }
.logo-strip img:nth-child(6) { grid-column: 4 / span 2; }
.logo-strip img:nth-child(7) { grid-column: 6 / span 2; }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 300px);
  justify-content: space-between;
  align-items: end;
  gap: 48px;
  padding-top: 74px;
  padding-bottom: 96px;
}
.contact-primary { display: grid; gap: 64px; }
.contact .section-label { color: #666; line-height: 22px; }
.contact-addresses { display: grid; gap: 48px; }
.contact-detail { display: grid; gap: 16px; }
.contact-detail span { color: #666; line-height: 23px; }
.contact-social { display: grid; gap: 16px; padding-bottom: 1px; }
.contact-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; line-height: 22px; }

.case-intro { display: flex; flex-direction: column; gap: 80px; }
.case-site-button {
  width: 161px;
  min-height: 54px;
  padding-inline: 0;
  border-radius: 64px;
  background: #f0f0f0;
  line-height: 22.4px;
}
.case-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 225px)); gap: 24px; }
.case-meta > div { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.case-row { display: grid; align-items: start; }
.case-stack, .case-stack > div, .case-row > * { min-width: 0; }
.media-node {
  position: relative;
  display: block;
  width: 100%;
  isolation: isolate;
}
.media-paint {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  inset: 0;
  max-width: none;
}
.case-video { width: 100%; height: 100%; background: transparent; cursor: pointer; }
.error-page { display: grid; gap: 32px; padding-block: 100px; }
.error-page h1 { font-size: 48px; }

@media (min-width: 768px) {
  .show-m { display: none !important; }
}
@media (max-width: 1000px) {
  .header-bar .main-nav { gap: 24px; transform: none; }
  .header-actions { gap: 16px; }
  .callout { grid-template-columns: minmax(115px, 17%) minmax(0, 1fr) auto; }
  .callout-button { margin-left: 0; }
}

@media (max-width: 767px) {
  :root { --edge: 16px; }

  .show-d { display: none !important; }
  .header-bar { height: 70px; grid-template-columns: 1fr auto; }
  .brand { display: block; width: 29px; height: 44px; }
  .brand-desktop { display: none; }
  .brand-symbol, .brand-word { display: block; }
  .brand-symbol { position: absolute; left: 0; top: 13px; }
  .brand-word { position: absolute; left: calc(50% - 56px); top: 25px; }
  .brand-word-ru { left: calc(50% - 49.5px); top: 25.5px; }
  .header-bar .main-nav, .header-actions { display: none; }
  .menu-toggle, .menu-close {
    display: grid;
    grid-column: 2;
    justify-self: end;
    padding: 0;
    border: 0;
    background: none;
    border-radius: 50%;
    cursor: pointer;
  }
  body:has(.mobile-menu[open]) { overflow: hidden; }
  .mobile-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: auto;
    overscroll-behavior: contain;
    color: #000;
    background: #fff;
  }
  .mobile-menu::backdrop { background: #fff; }
  .menu-content { display: grid; padding-block: 50px 64px; }
  .menu-actions { display: flex; justify-content: space-between; gap: 16px; }
  .menu-content h2 { margin-block: 104.72px 58.9px; font-size: 24px; line-height: 32.4px; }
  .menu-contact { width: 106px; min-height: 38px; padding-inline: 16px; background: #0071e3; }
  :lang(en) .menu-contact { width: 126px; }
  .menu-content .contact-social { margin-top: 48px; }

  .footer-content { min-height: 936.875px; padding-block: 48px; }
  .footer-top { flex-direction: column; align-items: stretch; gap: 40px; }
  .footer-message { width: 100%; gap: 40px; }
  .footer-heading { gap: 12px; }
  .footer-heading h2 { font-size: 27px; line-height: 1.2; }
  .footer-presentation { width: 190.56px; min-height: 54.4px; }
  .footer-links { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 80px; }
  .footer-links nav:first-child { min-height: 212px; }
  .footer-links nav:nth-child(2) a { line-height: 22.4px; }

  .landing, .landing.home { padding-top: 50px; padding-bottom: 120px; gap: 80px; }
  .landing.about { padding-bottom: 160px; }
  .home-intro { gap: 28px; }
  .filter-title { font-size: 24px; }
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .callout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .about .callout { gap: 16px; }

  .skill summary { min-height: 56px; padding-block: 7px; font-size: 26px; }
  .skill ul { padding: 0 0 20px; font-size: 20px; line-height: 1.4; }
  .skill-arrow { display: none; }
  .skill-mark { position: relative; display: block; flex: 0 0 24px; height: 20px; }
  .skill-mark::before, .skill-mark::after {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    top: 9px;
    height: 1px;
    background: currentColor;
  }
  .skill:not([open]) .skill-mark::after { transform: rotate(90deg); }

  .logo-strip {
    grid-template-columns: repeat(4, minmax(0, 80px));
    grid-template-rows: repeat(4, 200px);
    justify-content: center;
  }
  .logo-strip img:nth-child(6) { grid-column: span 2; }
  .logo-strip img:nth-child(7) { grid-column: 2 / span 2; }

  .contact { grid-template-columns: minmax(0, 1fr); gap: 14.5px; padding-top: 50px; padding-bottom: 64px; }
  .contact-primary { gap: 53px; }
  .case-intro { gap: 44px; }
  .case-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 16px; }
  .case-row { min-width: 0; }
  .error-page h1 { font-size: 24px; }
}
