.projects-page {
  background: var(--bg);
  color: var(--ink);
  padding-top: 0;
}

.projects-hero__title {
  margin: 0;
  padding-top: 12px;
  color: var(--black);
  text-align: center;
  font-family: var(--font-plus);
  font-size: 61px;
  font-weight: 700;
  line-height: 1.25;
}

.projects-hero__desc {
  width: 1000px;
  max-width: 100%;
  margin: 20px auto 0;
  color: var(--black-70);
  text-align: center;
  font-family: var(--font-onest);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.projects-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding-top: 80px;
  overflow-x: auto;
  scrollbar-width: none;
}

.projects-filters::-webkit-scrollbar {
  display: none;
}

.projects-filter {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 20px;
  border: 0;
  background: var(--second-bg);
  color: var(--black-70);
  font-family: var(--font-onest);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  cursor: pointer;
  border-left: 3px solid var(--accent);
}

.projects-filter--active {
  background: var(--black);
  color: var(--accent);
}

.projects-grid-section {
  padding: 40px 0 80px;
}

.projects-page .section-get-started {
  margin-bottom: 100px;
}

.projects-page .section-get-started .projects-cta__wrap {
  background: var(--second-bg);
}

.projects-page .section-get-started .projects-cta__visual::after {
  background: var(--second-bg);
}

.projects-grid {
  position: relative;
}

.project-card {
  width: 440px;
  margin-bottom: 40px;
  border: 1px solid rgba(51, 54, 57, 0.3);
  background: var(--white);
  transition: all 0.3s ease-in-out;
}
.project-card:hover {
  border-color: var(--black);
}

.project-card__image-link {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.project-card__image-wrap {
  position: relative;
  display: block;
  width: 100%;
  height: 330px;
}

.project-card__image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}

.project-card:hover .project-card__image-wrap img {
  transform: scale(1.1);
}

.project-card__hover {
  z-index: 3;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px 0 15px;
  margin-left: 30px;
  background: var(--white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
}

.project-card__hover::after {
  content: '';
  position: absolute;
  top: 0;
  right: -14px;
  width: 15px;
  height: 40px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.project-card__hover span {
  font-family: var(--font-onest);
  font-weight: 600;
  font-size: 16px;
  line-height: normal;
  color: var(--black);
  text-transform: capitalize;
  white-space: nowrap;
}

.project-card:hover .project-card__hover {
  margin-left: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-card__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: -40px;
  padding: 60px 20px 40px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 40px, 100% 100%, 0 100%);
}

.project-card__tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 21px;
  padding: 4px 10px 4px 12px;
  border-left: 2px solid var(--accent);
  background: var(--second-bg);
  color: var(--black-70);
  font-family: var(--font-onest);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
}

.project-card__title {
  margin: 0;
  color: var(--black);
  font-family: var(--font-plus);
  font-size: 31px;
  font-weight: 700;
  line-height: 1.1;
}
.project-card__title a:hover {
  text-decoration: underline;
}

.project-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--black);
  font-family: var(--font-onest);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.project-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.project-card__meta-item svg {
  width: 20px;
  height: 20px;
  color: currentColor;
  flex-shrink: 0;
}

.projects-actions {
  gap: 20px;
  padding: 40px 0 0;
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}

.btn-accent__left {
  position: relative;
  width: 20px;
  height: 50px;
  flex-shrink: 0;
}

.btn-accent__left img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

.btn-accent__center {
  position: relative;
  min-width: 168px;
  height: 50px;
  padding: 15px 20px;
  background: var(--accent);
  color: var(--black);
  font-family: var(--font-plus);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.btn-accent__label {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.btn-accent__loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.btn-accent__spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(51, 54, 57, 0.25);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: projects-spin 0.8s linear infinite;
}

.btn-accent__load-more.btn-accent--loading {
  pointer-events: none;
}

.btn-accent__load-more.btn-accent--loading .btn-accent__label {
  opacity: 0;
}

.btn-accent__load-more.btn-accent--loading .btn-accent__loading {
  opacity: 1;
}

.btn-accent__right-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-accent__rotate {
  flex: none;
  transform: rotate(180deg);
}

.btn-accent__right {
  position: relative;
  width: 20px;
  height: 50px;
}

.btn-accent__right img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

.projects-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 225px;
  height: 40px;
}

.projects-pagination__arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 40px;
  margin-right: 8px;
  background: transparent;
  padding: 0;
  opacity: 0.6;
  text-decoration: none;
  cursor: pointer;
}

.projects-pagination__arrow::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--black);
  transform: skew(-19deg);
}

.projects-pagination__arrow svg {
  position: relative;
  z-index: 1;
}

.projects-pagination__arrow--disabled {
  opacity: 0.45;
  pointer-events: none;
}

.projects-pagination__dash {
  display: block;
  width: 25px;
  height: 20px;
  background: var(--black);
  clip-path: polygon(26% 0, 100% 0, 74% 100%, 0 100%);
  text-decoration: none;
}

.projects-pagination__dash--active {
  background: var(--accent);
}
