/* ==========================================================================
   4 · Rakamlar — giant number layer, counters, full-bleed parallax band.
   ========================================================================== */
.s-stats { overflow: clip; padding-bottom: 0; }

/* Giant number in the open space under the heading (depth layer, drifts against the scroll). */
.s-stats__bignum {
  position: absolute; z-index: 0; left: calc(var(--pad) - 0.06em); top: clamp(15rem, 34vh, 22rem);
  font-size: var(--fs-num-bg); line-height: 0.78; letter-spacing: -0.05em;
  color: var(--fg); opacity: 0.09; pointer-events: none; user-select: none;
}

.s-stats__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 4vw, 4rem); }
.s-stats__head .eyebrow { grid-column: 1 / -1; }
.s-stats__title { grid-column: 1 / span 7; max-width: 12ch; }
.s-stats__text { grid-column: 8 / -1; align-self: end; display: grid; gap: 1.2rem; }
.s-stats__text .body-text { color: var(--fg-soft); }

.s-stats__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(4rem, 11vh, 8rem);
}
.s-stats__item { position: relative; padding-top: 1.25rem; border-top: var(--hairline) solid var(--c-gold); }
.s-stats__label { display: block; color: var(--fg-soft); }
.s-stats__value { margin-top: clamp(1.25rem, 3vh, 2rem); display: flex; align-items: baseline; gap: 0.35rem; white-space: nowrap; }
/* Four columns: the widest value ("4.513 m²") must fit one column. */
.s-stats .num-xl { font-size: clamp(3.4rem, 6.4vw, 7.25rem); }
.s-stats__unit { font-size: clamp(1rem, 1.4vw, 1.4rem); color: var(--fg-soft); }

/* Render band: full-bleed when the original is >= 2560 px (allow_full_bleed). */
.s-stats__band { position: relative; margin: clamp(5rem, 13vh, 10rem) clamp(8px, 1.2vw, 16px) 0; height: clamp(420px, 88vh, 920px); }
/* Smaller originals (brief §6): never wider than the image's own pixels, at its own ratio
   (the parallax layer is taller than the frame, so the ratio is relaxed a little). */
.s-stats__band:not(.s-stats__band--bleed) {
  width: min(calc(100% - 2 * var(--pad)), var(--band-w, var(--maxw))); max-width: var(--maxw);
  height: auto; aspect-ratio: var(--band-ar, 16 / 9); margin-inline: auto;
}

/* Six values (İncek): three columns, slightly smaller numerals so "80.815,91 m²" fits. */
.s-stats__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: clamp(3rem, 7vh, 5rem); }
.s-stats__grid--3 .num-xl { font-size: clamp(3.2rem, 5.4vw, 6.4rem); }

@media (max-width: 959.98px) {
  .s-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .s-stats__grid--3 .s-stats__item:first-child { grid-column: 1 / -1; }   /* the long value gets a full row */
}
@media (max-width: 767.98px) {
  .s-stats__title, .s-stats__text { grid-column: 1 / -1; }
  .s-stats__bignum { top: 2rem; left: auto; right: -0.5rem; }
  .s-stats .num-xl { font-size: clamp(3rem, 15vw, 4.5rem); }
  .s-stats__band { height: 62vh; }
}
