/* Plain intermediate sections share the rendered wave background's cocoa tone. */
:root { --paper:#543733; --paper-deep:#543733; }
html, body { background:#543733; }
main > .section,
main > .quote-strip,
.dna-wrap,
.founder-copy,
.founder-preview .portrait-mini {
  background-color:#543733;
  background-image:none;
}
/* Hero/page-hero and the final CTA retain their approved wave image. */

/* The DNA overview is intentionally lighter than the surrounding cocoa sections. */
.dna-wrap.dna-world {
  background:#f0e3d8;
  border-color:#c9a994;
  color:#302019;
}
.dna-world .eyebrow,
.dna-world .text-link { color:#713c29; }
.dna-world .eyebrow::before { background:#a66043; }
.dna-world h2,
.dna-world h2 em { color:#302019; }
.dna-world .dna-intro>p { color:#634f45; }
.dna-portal-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.dna-portal-card {
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:360px;
  padding:34px;
  color:#302019;
  background:#f9f1e9;
  border:1px solid #d4b8a4;
  border-radius:19px;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.dna-portal-card--leaders {
  background:#ead8ca;
  border-color:#caa58e;
}
.dna-portal-card:hover {
  transform:translateY(-5px);
  border-color:#a86b4f;
  box-shadow:0 16px 40px rgba(31,18,13,.16);
}
.dna-portal-card__top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:#7b4a36;
  font-size:10px;
  font-weight:bold;
  line-height:1.5;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.dna-portal-card__top .icon { width:30px;height:30px; }
.dna-portal-card h3 {
  margin-top:45px;
  font-family:IZ Display,sans-serif;
  font-size:clamp(31px,3vw,45px);
  line-height:1;
  color:#302019;
}
.dna-portal-card>p {
  max-width:520px;
  margin-top:20px;
  color:#634f45;
  font-size:14px;
  line-height:1.8;
}
.dna-portal-card__tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:0;
  margin:25px 0 0;
  list-style:none;
}
.dna-portal-card__tags li {
  padding:7px 12px;
  color:#50382e;
  border:1px solid rgba(48,32,25,.22);
  border-radius:999px;
  font-size:10px;
  line-height:1.3;
}
.dna-portal-card__action {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-top:auto;
  padding-top:35px;
  color:#713c29;
  font-size:12px;
  font-weight:bold;
}
.dna-portal-card__action .icon { width:18px;height:18px; }
@media(max-width:850px){
  .dna-portal-card { min-height:330px;padding:28px; }
}
@media(max-width:650px){
  .dna-portal-grid { grid-template-columns:minmax(0,1fr);gap:14px; }
  .dna-portal-card { min-height:0;padding:25px 22px; }
  .dna-portal-card h3 { margin-top:32px;font-size:32px; }
  .dna-portal-card>p { font-size:12px; }
  .dna-portal-card__action { min-height:44px;padding-top:28px; }
}
