/* CAPS section */
.nv-caps {
  --nv-beige: #f0ebe1;
  --nv-green: #4b6653;
  background: var(--nv-green);
  color: #ffffff;
  padding: 40px 0 56px;
}

.nv-caps .nv-caps-inner {
  /*width: min(92vw, 1200px);*/
  padding: 0 100px 50px 100px;
}

/* Title: Playfair Display */
.nv-caps .nv-caps-heading {
  margin: 0 0 24px;
  text-align: center;
  font-family: "Playfair Display", ui-serif, Georgia, serif!important;
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 36px);
  color: white;
  margin-bottom: 100px;
}

/* Giant CAPS letters with a line through the middle */
.nv-caps .nv-caps-letters {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  margin: 20px 0 22px;
}

.nv-caps .nv-caps-letters::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0,0,0,0.08);
  transform: translateY(-50%);
}

.nv-caps .nv-caps-letter {
  font-family: "The Seasons", ui-serif, Georgia, serif;
  font-size: clamp(64px, 10vw, 140px);
  line-height: 1;
}

/* Pillars grid under the letters */
.nv-caps .nv-caps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  margin-top: 6px;
}

/* Copy: Cormorant Garamond */
.nv-caps .nv-caps-item-title {
  font-family: "Cormorant Garamond", ui-serif, Georgia, serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  text-align: center;
}

.nv-caps .nv-caps-item-desc {
  font-family: "Cormorant Garamond", ui-serif, Georgia, serif;
  line-height: 1.55;
  color: #f3f3f3;
  margin: 0;
  text-align: center;
}

/* Enforce tall presentation for larger/1080p-ish viewports */
@media (min-width: 1200px) and (min-height: 900px) {
  .nv-caps { min-height: 50vh; display: grid;}
}

/* Responsive layout */
@media (max-width: 1100px) {
  .nv-caps .nv-caps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nv-caps .nv-caps-grid { grid-template-columns: 1fr; }
}

