/* ============================================================
   CLARITY: pain-points → clear-answers section
   Two-column: warm photo on the left, content on the right.
   ============================================================ */

.cl-section {
  position: relative;
  z-index: 2;
  background: var(--sage-100, #E2EBDC);
  padding: var(--band-y) 52px;
  overflow: clip;
}

.cl-container {
  max-width: 1080px;
  margin: 0 auto;
}

.cl-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
}

/* ---------- LEFT: photo ---------- */
.cl-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, var(--cream-100) 0%, var(--cream-200) 60%, var(--cream-300) 100%);
  box-shadow:
    0 1px 2px rgba(31, 42, 35, 0.04),
    0 24px 56px -20px rgba(31, 42, 35, 0.18);
}
/* Two-column layout only: full-bleed left, fading into the section on the right (mirror of the contact page).
   Insets + mask live on the CONTAINER; the img just covers it. */
@media (min-width: 961px) {
  .cl-row { align-items: stretch; min-height: clamp(380px, 37vw, 500px); }
  .cl-content { align-self: center; padding: clamp(10px, 1.6vw, 24px) 0; position: relative; z-index: 1; }
  .cl-photo {
    aspect-ratio: auto;
    align-self: stretch;
    border-radius: 0;
    background: none;
    box-shadow: none;
    overflow: hidden;
    /* Bleeds to the section's top and bottom edges (the curves overlap it) and to the left edge of the viewport, never past it */
    margin: calc(-1 * var(--band-y, 44px)) calc(-1 * clamp(40px, 6vw, 110px)) calc(-1 * var(--band-y, 44px)) calc(-1 * max((100vw - 1080px) / 2, 52px));
    -webkit-mask-image: linear-gradient(to left, transparent 0, rgb(0 0 0/.18) 10%, rgb(0 0 0/.5) 20%, rgb(0 0 0/.82) 30%, #000 40%);
    mask-image: linear-gradient(to left, transparent 0, rgb(0 0 0/.18) 10%, rgb(0 0 0/.5) 20%, rgb(0 0 0/.82) 30%, #000 40%);
  }
  .cl-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Anchor to the left edge so Madison stays fully in frame; any width cropping happens on the faded right side */
    object-position: 0% 35%;
  }
}
.cl-photo picture { display: block; width: 100%; height: 100%; }
.cl-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02);
}
.cl-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px;
  text-align: center;
  color: var(--sage-700);
}
.cl-photo-placeholder svg {
  width: 56px;
  height: 56px;
  opacity: 0.55;
}
.cl-photo-label {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sage-700);
  opacity: 0.8;
}
.cl-photo-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-500);
  max-width: 260px;
  line-height: 1.45;
}

/* ---------- RIGHT: content ---------- */
.cl-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Small sprout icon: sits above headline */
.cl-top-ico {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--sage-100);
  color: var(--sage-700);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.cl-top-ico svg { width: 22px; height: 22px; }

.cl-headline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--sage-800);
  margin: 0 0 18px;
  text-wrap: balance;
}
.cl-headline-hand {
  font-family: var(--font-hand);
  font-weight: 600;
  color: var(--clay-500);
  letter-spacing: 0;
}

.cl-lede {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.5;
  color: var(--ink-900);
  margin: 0 0 28px;
  font-weight: 500;
  text-wrap: balance;
}
.cl-lede .cl-hi {
  color: var(--clay-500);
  font-weight: 600;
}

.cl-intro {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-700);
  margin: 0 0 22px;
  max-width: 560px;
  text-wrap: pretty;
}

/* Bullets */
.cl-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 560px;
}
.cl-bullets li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-700);
  align-items: baseline;
}
.cl-bullets .cl-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--sage-500);
  margin-top: 8px;
  justify-self: center;
}

/* Sage emphasis card */
.cl-emphasis-card {
  background: var(--sage-100);
  border-radius: 18px;
  padding: 22px 28px;
  margin: 0 0 22px;
  width: 100%;
  text-align: center;
}
.cl-emphasis-card p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(13.5px, 1.1vw, 17px);
  line-height: 1.45;
  color: var(--sage-800);
  letter-spacing: -0.01em;
  font-weight: 600;
  text-wrap: balance;
}

/* Quiet footer note */
.cl-quiet {
  font-size: 12px;
  color: var(--ink-500);
  font-style: italic;
  margin: 0 0 30px;
  max-width: 620px;
  line-height: 1.55;
}

/* ---------- CTA button ---------- */
.cl-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--clay-500);
  color: var(--cream-50);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow:
    0 1px 2px rgba(165, 65, 25, 0.2),
    0 8px 22px -8px rgba(165, 65, 25, 0.45);
  transition:
    background 200ms var(--ease-out),
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
  white-space: nowrap;
}
.cl-cta-btn:hover {
  background: var(--clay-600);
  color: var(--cream-50);
  transform: translateY(-1px);
  box-shadow:
    0 2px 4px rgba(165, 65, 25, 0.22),
    0 12px 26px -10px rgba(165, 65, 25, 0.55);
}
.cl-cta-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 220ms var(--ease-spring);
}
.cl-cta-btn:hover svg { transform: translateX(3px); }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .cl-section { padding: 40px 24px; }
  .cl-row { grid-template-columns: 1fr; gap: 14px; }
  .cl-photo { aspect-ratio: 4 / 3; max-width: none; margin: 0 -24px 14px; order: 0; width: calc(100% + 48px); border-radius: 0; }
  .cl-lede { margin-bottom: 0; }
  .cl-intro { margin-bottom: 0; }
  .cl-bullets { gap: 5px; margin-bottom: 0; }
  .cl-emphasis-card { margin-bottom: 0; }
  .cl-quiet { margin-bottom: 4px; }
  .cl-content { display: contents; }
  .cl-headline { order: -1; margin: 10px 0 8px; }
  .cl-content > *:not(.cl-headline) { order: 1; }
  .cl-content > .cl-cta-btn { justify-self: start; width: fit-content; }
}

@media (max-width: 520px) {
  .cl-section { padding: 32px 20px; }
  .cl-photo { border-radius: 0; margin: 0 -20px 14px; width: calc(100% + 40px); }
  .cl-headline { font-size: clamp(22px, 6.4vw, 28px); }
  .cl-lede { font-size: 14px; }
  .cl-intro, .cl-bullets li { font-size: 13px; }
  .cl-emphasis-card { padding: 18px 22px; }
  .cl-emphasis-card p { font-size: 13px; }
  .cl-quiet { font-size: 11.5px; }
  .cl-cta-btn { padding: 13px 22px; font-size: 13px; }
}
