/* ───── KARAFT image-with-text (Prestige Allure clone) ─────
   50/50 split: image one side, centered text column the other.
   image_position flips the order. Stacks image-above-text on mobile. */

.kf-iwt { padding: var(--section-gap, 96px) 0; }

.kf-iwt__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.kf-iwt--right .kf-iwt__media { order: 2; }
.kf-iwt--right .kf-iwt__copy  { order: 1; }

/* ── Media ───────────────────────────────────────────────────────────── */
.kf-iwt__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.kf-iwt__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kf-iwt__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
}

/* ── Staggered dual-photo variant (Prestige collaboration block) ───────── */
.kf-iwt--stack .kf-iwt__media {
  aspect-ratio: auto;
  position: relative;
  min-height: 620px;
  overflow: visible;
}
.kf-iwt__photo {
  position: absolute;
  width: 58%;
  overflow: hidden;
}
.kf-iwt__photo--a { top: 0; right: 0; aspect-ratio: 4 / 5; }
.kf-iwt__photo--b { bottom: 0; left: 0; aspect-ratio: 3 / 4; z-index: 2; }
.kf-iwt--stack .kf-iwt__copy { align-items: flex-start; text-align: left; margin: 0; }

/* ── Copy ────────────────────────────────────────────────────────────── */
.kf-iwt__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
}
.kf-iwt__eyebrow {
  display: block;
  margin-bottom: 20px;
}
.kf-iwt__heading {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}
.kf-iwt__body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-top: 20px;
}
.kf-iwt__btn { margin-top: 32px; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .kf-iwt__inner { gap: 40px; }
  .kf-iwt--stack .kf-iwt__media { min-height: 520px; }
}
@media (max-width: 600px) {
  .kf-iwt { padding: 64px 0; }
  .kf-iwt__inner { grid-template-columns: 1fr; gap: 32px; }
  /* Image always stacks above text on mobile */
  .kf-iwt__media,
  .kf-iwt--right .kf-iwt__media { order: 1; }
  .kf-iwt__copy,
  .kf-iwt--right .kf-iwt__copy { order: 2; max-width: none; }
  /* Staggered pair collapses to a simple stacked pair on mobile */
  .kf-iwt--stack .kf-iwt__media {
    position: static;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .kf-iwt__photo { position: static; width: 100%; }
  .kf-iwt--stack .kf-iwt__copy { align-items: center; text-align: center; }
}
