.projects-section {
  --projects-scale: clamp(0.4167, calc(100vw / 1920px), 1);
  --projects-width: 1920px;
  --projects-height: 2650px;
  position: relative;
  height: calc(var(--projects-height) * var(--projects-scale));
  overflow: hidden;
  background: #fff;
}

@media (min-width: 1920px) {
  .projects-section {
    --projects-scale: 1;
  }
}

.projects-section,
.projects-section * {
  box-sizing: border-box;
}

.projects-section__stage {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--projects-width);
  height: var(--projects-height);
  margin-left: calc(var(--projects-width) / -2);
  padding: 0 260px;
  transform: scale(var(--projects-scale));
  transform-origin: top center;
}

.projects-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  text-align: center;
}

.projects-head__title {
  width: 837px;
  margin: 0;
  color: #010300;
  font-family: "stolzlregular", sans-serif;
  font-size: 70px;
  font-weight: normal;
  line-height: 100px;
  letter-spacing: 0;
  font-synthesis: none;
}

.projects-head__text {
  width: 836px;
  margin: 40px 0 0;
  color: #49443e;
  font-family: "stolzlbook", sans-serif;
  font-size: 18px;
  font-weight: normal;
  line-height: 30px;
  letter-spacing: 0;
  font-synthesis: none;
}

.projects-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 580px;
  margin: 40px auto 0;
}

.projects-tabs__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  min-height: 37px;
  padding: 10px 15px;
  border-radius: 10px;
  background: #faf5f2;
  color: #010300;
  font-family: "stolzlregular", sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 17px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  font-synthesis: none;
}

.projects-tabs__item--active {
  background: #f44903;
  color: #fff;
}
.projects-tabs__item:hover {
  background: #f44903;
  color: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 695px);
  grid-template-rows: 570px 570px 720px;
  gap: 10px;
  margin-top: 60px;
}

.projects-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}

.projects-card--wide {
  grid-column: 1 / -1;
}

.projects-card--hidden {
  display: none !important;
}

.projects-card__image,
.projects-card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.projects-card__image {
  object-fit: cover;
  z-index: -2;
}

.projects-card__shade {
  z-index: -1;
  background: linear-gradient(186deg, rgba(0, 0, 0, 0) 23.65%, rgba(0, 0, 0, 0.3) 90.49%);
}

.projects-card:first-child .projects-card__shade {
  background: linear-gradient(186deg, rgba(0, 0, 0, 0) 23.65%, rgba(0, 0, 0, 0.4) 90.49%);
}

.projects-card__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding: 0 40px 50px;
  transition: opacity 0.3s ease;
}

.projects-card__title,
.projects-featured__title {
  display: block;
  margin: 0;
  color: #fff;
  font-family: "stolzlbook", sans-serif;
  font-size: 34px;
  font-weight: normal;
  line-height: 36px;
  letter-spacing: 0.68px;
  font-synthesis: none;
}

.projects-tags {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.projects-tags__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 10px;
  border: 0.5px solid #fff;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.1);
  color: #fff;
  font-family: "stolzlbook", sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 16px;
  letter-spacing: 0.32px;
  font-synthesis: none;
}

.projects-card--featured {
  padding: 5px;
}

.projects-featured {
  position: absolute;
  inset: 5px;
  display: flex;
  flex-direction: column;
  padding: 70px 41px 75px;
  border-radius: 6px;
  background: rgba(60, 29, 16, 0.7);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}


.projects-card:hover .projects-card__content {
  opacity: 0;
}
.projects-card:hover .projects-featured {
  opacity: 1;
  pointer-events: auto;
}

.projects-featured__button:hover {
  background: #f44903;
  border-color: transparent;
}


.projects-featured__title {
  width: 591px;
}

.projects-featured__facts {
  display: flex;
  flex-direction: column;
  gap: 31px;
  margin-top: 34px;
}

.projects-featured__row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  color: #fff;
  font-family: "stolzlbook", sans-serif;
  font-size: 18px;
  font-weight: normal;
  line-height: 26px;
  font-synthesis: none;
}

/* all rows use uniform gap 20px */




.projects-featured__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
}
.projects-featured__icon {
  flex: 0 0 auto;
  object-fit: contain;
}

.projects-featured__icon--pin {
  width: 28px;
  height: 40px;
}

.projects-featured__icon--cube {
  width: 40px;
  height: 44px;
}

.projects-featured__mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  object-fit: contain;
}

.projects-featured__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 172px;
  height: 60px;
  margin-top: auto;
  border: 0.5px solid #fff;
  border-radius: 10px;
  background: rgba(29, 29, 29, 0.18);
  color: #fff;
  font-family: "stolzlbook", sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 26px;
  text-decoration: none;
  font-synthesis: none;
}

.projects-featured__button img {
  width: 14px;
  height: 12px;
}

.projects-all {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  margin-top: 40px;
  border: 0.5px solid #010300;
  border-radius: 8px;
  color: #010300;
  font-family: "stolzlregular", sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 17px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-synthesis: none;
}

.projects-all {
  transition: background-color 0.2s ease, color 0.2s ease;
}

.projects-all:hover,
.projects-all:focus-visible {
  background: #010300;
  color: #fff;
}

.projects-all:focus-visible {
  outline: 2px solid #f44903;
  outline-offset: 3px;
}

