/* Ki — Four Pillars ("A category of one").
   Light, image-led sibling to Why (Dark). 2×2 grid of pillar cards, each with
   an uploadable rounded-corner image, numeral chip, eyebrow, serif title and
   paragraph. All selectors scoped under .ki-scope .ki-four-pillars. */

.ki-scope .ki-four-pillars {
  background: var(--ki-cream);
  position: relative;
  overflow: hidden;
}
.ki-scope .ki-four-pillars.ki-block { padding: 112px 0; }

/* Optional full-bleed background image + readability wash. */
.ki-scope .ki-four-pillars .ki-fp-bg {
  position: absolute; inset: 0;
  background-size: cover; background-repeat: no-repeat;
  z-index: 0;
}
.ki-scope .ki-four-pillars .ki-fp-overlay {
  position: absolute; inset: 0;
  background: var(--ki-cream);
  z-index: 1;
}
.ki-scope .ki-four-pillars .wrap { position: relative; z-index: 2; }

/* ───── Section head (centered) ───── */
.ki-scope .ki-four-pillars .ki-fp-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
}
.ki-scope .ki-four-pillars .ki-fp-kicker {
  display: block;
  font-family: var(--ki-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ki-blue);
  margin-bottom: 22px;
}
.ki-scope .ki-four-pillars .ki-fp-headline {
  font-family: var(--ki-serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ki-ink);
  margin: 0;
}
.ki-scope .ki-four-pillars .ki-fp-headline em {
  font-family: var(--ki-serif-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--ki-blue-deep);
}
.ki-scope .ki-four-pillars .ki-fp-sub {
  font-family: var(--ki-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ki-ink-mute);
  margin: 18px auto 0;
  max-width: 540px;
}

/* ───── Grid ───── */
.ki-scope .ki-four-pillars .ki-fp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

/* ───── Card ───── */
.ki-scope .ki-four-pillars .ki-fp-card {
  display: flex;
  flex-direction: column;
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.ki-scope .ki-four-pillars.is-card .ki-fp-card {
  background: var(--ki-paper);
  border: 1px solid var(--ki-rule);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 1px 2px rgba(22, 22, 26, 0.04);
}
.ki-scope .ki-four-pillars.is-card .ki-fp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(22, 22, 26, 0.10);
}

/* ───── Media ───── */
.ki-scope .ki-four-pillars .ki-fp-media {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ki-blue-tint);
}
.ki-scope .ki-four-pillars .ki-fp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ki-scope .ki-four-pillars .ki-fp-media.is-empty {
  background: var(--ki-blue-tint);
  display: grid;
  place-items: center;
}
/* Subtle texture in the empty placeholder so it reads as intentional. */
.ki-scope .ki-four-pillars .ki-fp-media.is-empty::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,0.55), transparent 60%);
}

/* Centered (square / round avatar) mode. */
.ki-scope .ki-four-pillars.is-media-center .ki-fp-media {
  width: 180px;
  height: 180px;
  margin: 4px auto 0;
}

/* Numeral chip. */
.ki-scope .ki-four-pillars .ki-fp-num {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--ki-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ki-ink-mute);
  background: rgba(255, 255, 255, 0.88);
  padding: 4px 9px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.ki-scope .ki-four-pillars.is-media-center .ki-fp-num {
  top: 6px; left: 50%; transform: translateX(-50%);
}

/* ───── Body ───── */
.ki-scope .ki-four-pillars .ki-fp-body {
  padding-top: 22px;
}
.ki-scope .ki-four-pillars.is-bare .ki-fp-body { padding-top: 20px; }

.ki-scope .ki-four-pillars .ki-fp-eyebrow {
  display: block;
  font-family: var(--ki-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ki-blue);
  margin-bottom: 12px;
}
.ki-scope .ki-four-pillars .ki-fp-title {
  font-family: var(--ki-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ki-ink);
  margin: 0 0 12px;
}
.ki-scope .ki-four-pillars .ki-fp-desc {
  font-family: var(--ki-sans);
  font-size: 15px;
  line-height: 1.66;
  color: var(--ki-ink-mute);
  margin: 0;
}

/* ───── Closing line ───── */
.ki-scope .ki-four-pillars .ki-fp-foot {
  text-align: center;
  margin: 64px 0 0;
  font-family: var(--ki-serif-italic);
  font-style: italic;
  font-size: 22px;
  color: var(--ki-ink-soft);
}

/* ───── Responsive ───── */
@media (max-width: 860px) {
  .ki-scope .ki-four-pillars .ki-fp-grid { grid-template-columns: 1fr !important; }
  .ki-scope .ki-four-pillars .ki-fp-head { margin-bottom: 44px; }
}
@media (max-width: 600px) {
  .ki-scope .ki-four-pillars.ki-block { padding: 72px 0; }
  .ki-scope .ki-four-pillars .ki-fp-foot { margin-top: 44px; }
}
