.cdb-featured {
  margin: 0;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem);
  text-align: center;
  background: #fff;
}
.cdb-featured h2 {
  margin: 0 0 clamp(1.5rem, 4vw, 2.75rem);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}
.cdb-featured .cdb-featured__products {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.8rem, 2.5vw, 2rem);
  max-width: 76rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.cdb-featured__image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, #f8f6f3, #ebe7e1);
}
.cdb-featured__image::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 10.5%;
  width: 43%;
  height: 8%;
  transform: translateX(-45%) rotate(-7deg);
  background: radial-gradient(ellipse, #58493869, transparent 70%);
}
.cdb-featured .cdb-featured__image img {
  position: absolute;
  inset: 6% 0;
  display: block;
  width: 100%;
  height: 88%;
  max-width: 100%;
  max-height: 88%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.cdb-featured h3 { margin: .85rem 0 .25rem; font-size: clamp(.95rem, 1.6vw, 1.25rem); }
.cdb-featured p { margin: 0; font-size: .9rem; color: #595959; }
@media (max-width: 760px) {
  .cdb-featured .cdb-featured__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.5rem;
  }
}

.cdb-needs { padding: 0 clamp(1rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem); background: #fff; color: #2e2822; }
.cdb-needs__inner { max-width: 76rem; margin-inline: auto; border-top: 1px solid #dfd6ca; }
.cdb-needs__intro { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(1.75rem, 4vw, 3.25rem); }
.cdb-needs h2 { max-width: 14ch; margin: 0; font-size: clamp(2.25rem, 5.2vw, 4.5rem); line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
.cdb-needs__intro p { max-width: 42ch; margin: 1.25rem 0 0; color: #595149; }
.cdb-needs__layout {
  position: relative;
  isolation: isolate;
  padding-block: 1.25rem 3.5rem;
}
.cdb-needs__portrait {
  position: absolute;
  z-index: -1;
  inset: 9% 28%;
  overflow: hidden;
  border-radius: 45% 45% 24% 24% / 28% 28% 18% 18%;
  background: #f3efe9;
}
.cdb-needs__portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cdb-needs__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.47fr) minmax(0, 1fr);
  gap: clamp(.85rem, 2vw, 1.75rem);
  align-items: stretch;
}
.cdb-needs__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1rem, 2.2vw, 2rem);
  background: #f7f4ef;
  border: 1px solid #e8dfd4;
  border-radius: .9rem;
  overflow-wrap: anywhere;
}
@media (min-width: 851px) {
  .cdb-needs__card:nth-child(odd) { grid-column: 1; }
  .cdb-needs__card:nth-child(even) { grid-column: 3; }
}
.cdb-needs__card h3 { margin: 0 0 .55rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.25; }
.cdb-needs__card p { margin: 0 0 .9rem; color: #595149; font-size: .95rem; line-height: 1.45; }
.cdb-needs__links { margin-top: auto; }
.cdb-needs__links a { display: inline-flex; align-items: baseline; gap: .45em; max-width: 100%; color: #47382d; font-size: .9rem; }
.cdb-needs__link-label { min-width: 0; text-decoration: underline; text-underline-offset: .23em; }
.cdb-needs__links a:hover { color: #795839; }
@media (max-width: 850px) {
  .cdb-needs__layout { padding-block: 0; }
  .cdb-needs__portrait { position: relative; z-index: auto; inset: auto; width: min(88%, 29rem); margin: 0 auto -1.5rem; aspect-ratio: 1; border-radius: 1rem; }
  .cdb-needs__grid { position: relative; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: .5rem; }
}
@media (max-width: 480px) { .cdb-needs__grid { grid-template-columns: 1fr; } }

.cdb-guide { max-width: 84rem; margin-inline: auto; padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem); }
.cdb-guide h2 { margin: 0 0 clamp(1.5rem, 4vw, 2.75rem); text-align: center; font-size: clamp(1.75rem, 3vw, 2.65rem); }
.cdb-guide__panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.5rem); }
.cdb-guide__panel { padding: clamp(1.25rem, 3vw, 2.25rem); background: #f7f4ef; color: #2e2822; }
.cdb-guide__panel h3 { margin: 0 0 1.2rem; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.cdb-guide__panel dl, .cdb-guide__panel ol { margin: 0; }
.cdb-guide__panel dl > div { padding: .55rem 0; border-top: 1px solid #dfd6ca; }
.cdb-guide__panel dt { font-weight: 600; }
.cdb-guide__panel dd { margin: .2rem 0 0; }
.cdb-guide__panel ol { padding-inline-start: 1.3rem; }
.cdb-guide__panel li + li { margin-top: .75rem; }
.cdb-guide__panel p { margin: 1.25rem 0 0; color: #595149; font-size: .9rem; }
@media (max-width: 720px) { .cdb-guide__panels { grid-template-columns: 1fr; } }

@media (min-width: 761px) and (max-width: 1100px) {
  .cdb-featured .cdb-featured__products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


@media (min-width: 851px) and (prefers-reduced-motion: no-preference) {
  .cdb-needs__portrait { translate: 0 calc(var(--cdb-needs-scroll, 0px) * .32); }
  .cdb-needs__card { translate: 0 calc(var(--cdb-needs-scroll, 0px) * -.55); }
}

.cdb-reviews { padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem); background: #f3efe9; color: #2e2822; }
.cdb-reviews__inner { max-width: 76rem; margin-inline: auto; }
.cdb-reviews h2 { margin: 0; text-align: center; font-size: clamp(1.75rem, 3vw, 2.65rem); }
.cdb-reviews__intro { margin: .75rem 0 clamp(1.5rem, 4vw, 2.75rem); text-align: center; color: #595149; }
.cdb-reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.5rem); }
.cdb-reviews__card { display: flex; flex-direction: column; justify-content: space-between; gap: 1.75rem; min-width: 0; margin: 0; padding: clamp(1.25rem, 3vw, 2.25rem); background: #fffdfa; border: 1px solid #e8dfd4; border-radius: .85rem; overflow-wrap: anywhere; }
.cdb-reviews__card blockquote, .cdb-reviews__card blockquote p { margin: 0; }
.cdb-reviews__card blockquote p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.45; }
.cdb-reviews__card figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .45rem .8rem; font-size: .9rem; }
.cdb-reviews__card figcaption a { color: #47382d; text-underline-offset: .23em; }
.cdb-reviews__card time { color: #595149; }
@media (max-width: 720px) { .cdb-reviews__grid { grid-template-columns: 1fr; } }

.cdb-featured__link { display: block; color: inherit; text-decoration: none; }
.cdb-featured__link:focus-visible { outline: 2px solid #79634e; outline-offset: 4px; }
.cdb-featured__link:focus-visible h3 { text-decoration: underline; text-underline-offset: .2em; }
@media (hover: hover) {
  .cdb-featured__link:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cdb-featured .cdb-featured__image img { transition: transform .42s ease; transform-origin: center 70%; }
  .cdb-featured__link:hover .cdb-featured__image img { transform: scale(1.09); }
}
