.layout__spec {
  border-block: 1px solid var(--rule);
}
.layout__spec .spec__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 90%;
  max-width: var(--container);
}
.layout__spec .spec__item {
  padding: clamp(1.1818181818rem, 3vw, 2.3636363636rem) clamp(0.6363636364rem, 1.8vw, 1.3636363636rem);
  border-left: 1px solid var(--rule);
}
.layout__spec .spec__item:first-child {
  border-left: 0;
}
.layout__spec .spec__figure {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.2727272727rem, 3.4vw, 2.1818181818rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.layout__spec .spec__label {
  margin: 0.9em 0 0;
  font-family: var(--font-sans);
  font-size: 0.4545454545rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.layout__spec .spec__grid:has(.spec__item:nth-child(3):last-child) {
  grid-template-columns: repeat(3, 1fr);
}

.layout__spec .spec__grid:has(.spec__item:nth-child(2):last-child) {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 640px) {
  .layout__spec .spec__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .layout__spec .spec__grid .spec__item:nth-child(3) {
    border-left: 0;
  }
  .layout__spec .spec__grid .spec__item:nth-child(n+3) {
    border-top: 1px solid var(--rule);
  }
}
