.huge-number-block {
  width: 100%;
  max-width: 100%;
  display: block;
  box-sizing: border-box;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 0; /* vertical spacing - adjust as needed */
}

/* make sure it stretches in flex or grid containers */
.huge-number-block {
  min-width: 0; /* allows flex children to shrink correctly */
}

/* center the number and give it responsive size */
.huge-number-block .text-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18vh; /* ensures visibility on short sections */
}

/* masked text: scales responsively using clamp */
.huge-number-block .text-mask {
  display: inline-block;
  font-weight: 700;
  line-height: 1;
  font-family: inherit;
  /* responsive font size: min 64px, preferred 20vw, max 200px (adjust) */
  font-size: clamp(64px, 20vw, 200px);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-image: var(--hbn-bg-img);
  background-position: center;
  background-size: cover;
}

/* fallback if background-clip text not supported (plain color) */
.huge-number-block.no-mask .text-mask {
  color: #111;
}

/* small screen fine-tuning */
@media (max-width: 600px) {
  .huge-number-block {
    padding: 2rem 0.75rem;
  }
  .huge-number-block .text-wrapper {
    min-height: 14vh;
  }
}
