/* Framework page — extends content-pages.css with pillar grid + closing CTA. */

.sw-framework-page .sw-fw-hero-title,
.sw-framework-page .sw-cp-header--plain .sw-fw-hero-title {
  font-family: "Mrs Saint Delafield", "Playfair Display", cursive;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1;
  margin: 14px 0 6px;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-transform: none;
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.sw-framework-page .sw-fw-intro {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.sw-framework-page .sw-fw-pillars {
  margin: 80px auto 60px;
  max-width: 980px;
}

.sw-framework-page .sw-fw-pillars-heading {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: #1c1c1c;
}

.sw-framework-page .sw-fw-pillars-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  color: #444;
}

.sw-framework-page .sw-fw-pillar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 36px;
}

.sw-framework-page .sw-fw-pillar {
  background: #ffffff;
  border: 1px solid rgba(28, 28, 28, 0.08);
  border-radius: 12px;
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  box-shadow: 0 12px 30px -22px rgba(0, 0, 0, 0.18);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sw-framework-page .sw-fw-pillar:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -22px rgba(0, 0, 0, 0.22);
}

.sw-framework-page .sw-fw-pillar:has(.sw-fw-pillar-image) {
  grid-template-columns: 220px 1fr;
  align-items: center;
}

.sw-framework-page .sw-fw-pillar-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(0.45) contrast(1.04);
}

.sw-framework-page .sw-fw-pillar-label {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: #b08a2e;
  margin-bottom: 8px;
}

.sw-framework-page .sw-fw-pillar-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1c1c1c;
  margin: 0 0 14px;
}

.sw-framework-page .sw-fw-pillar-body {
  font-family: "Cormorant Garamond", "Playfair Display", serif;
  font-size: 1.18rem;
  line-height: 1.65;
  color: #333;
}

.sw-framework-page .sw-fw-pillar-body p:last-child {
  margin-bottom: 0;
}

.sw-framework-page .sw-fw-cta {
  margin: 60px auto 30px;
  padding: 56px 36px;
  max-width: 820px;
  background: #1c1c1c;
  color: #fff;
  border-radius: 12px;
  text-align: center;
}

.sw-framework-page .sw-fw-cta-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.65);
}

.sw-framework-page .sw-fw-cta-heading {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 18px;
  color: #fff;
}

.sw-framework-page .sw-fw-cta-body {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0 auto 26px;
  line-height: 1.6;
}

.sw-framework-page .sw-fw-cta-actions {
  margin: 0;
}

.sw-framework-page .sw-fw-cta-btn {
  display: inline-block;
  padding: 14px 30px;
  background: #e8c547;
  color: #1c1c1c;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.sw-framework-page .sw-fw-cta-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  color: #1c1c1c;
}

@media (max-width: 720px) {
  .sw-framework-page .sw-fw-pillar:has(.sw-fw-pillar-image) {
    grid-template-columns: 1fr;
  }
  .sw-framework-page .sw-fw-pillar-image img {
    height: 180px;
  }
  .sw-framework-page .sw-fw-cta {
    padding: 40px 22px;
  }
}
