@layer components {
  .nh-fstats {
    container-type: inline-size;
    container-name: nh-fstats;
    position: relative;
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-block: var(--space-3xl);
  }

  .nh-fstats__bg { position: absolute; inset: 0; z-index: 0; }

  .nh-fstats__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Green-tinted overlay over nature imagery */
  .nh-fstats__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: oklch(0.10 0.04 142 / 0.60);
  }

  .nh-fstats__content {
    position: relative;
    z-index: 2;
    width: 100%;
  }

  .nh-fstats__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
  }

  .nh-fstats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3xs);
  }

  .nh-fstats__value {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: var(--weight-semibold);
    color: var(--success);
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .nh-fstats__label {
    font-size: var(--text-s);
    color: var(--always-light);
    opacity: 0.75;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: var(--weight-medium);
    text-align: center;
  }

  .nh-fstats__divider {
    width: 1px;
    height: 4.8rem;
    background: var(--always-light);
    opacity: 0.15;
    flex-shrink: 0;
  }

  @container nh-fstats (max-width: 768px) {
    .nh-fstats__row     { gap: var(--space-xl); }
    .nh-fstats__value   { font-size: var(--text-xl); }
    .nh-fstats__label   { font-size: var(--text-xs); }
    .nh-fstats__divider { height: 3.6rem; }
  }

  @container nh-fstats (max-width: 640px) {
    .nh-fstats__row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--space-xl) var(--space-l);
      justify-items: center;
    }
    .nh-fstats__divider { display: none; }
  }

  @container nh-fstats (max-width: 380px) {
    .nh-fstats__value { font-size: var(--text-l); }
  }
}
