/* ── Base & Reset ── */
html, body { background: #0a0a0a; overflow-x: hidden; }
img { max-width: 100%; height: auto; }

.cover { object-fit: cover; width: 100%; }

/* ── Layout Utility Classes ── */
.dark-overflow-wrap { background: #0d0d0d; overflow: hidden; }
.light-grid-bg { padding-top: 0; background: #f4f4f4; }
.founders-light-wrap { padding-bottom: 70px; }
.section-header-center { text-align: center; margin-bottom: 2.5em; }

/* ── Section Header Utilities (dark backgrounds) ── */
.section-dark-eyebrow {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #3DED62;
  margin-bottom: 1.2em;
}

.section-dark-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.section-dark-heading--sm { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0.3em 0 0; }
.section-dark-heading--lg { font-size: clamp(2.8rem, 6vw, 5rem); margin-bottom: 0.6em; }

.section-dark-body {
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}
.section-dark-body--mb { margin-bottom: 3em; }

.section-accent {
  width: 56px;
  height: 3px;
  background: #3DED62;
  margin: 0 auto 1.4em;
}

/* ── Services heading ── */
.services-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin: 0.3em 0 0;
}

/* ── Projects dark header section ── */
.projects-dark-header {
  background: #0d0d0d;
  padding: 90px 0 0;
  position: relative;
  overflow: hidden;
}
.radial-glow-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(61,237,98,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── CBP Grid Layout ── */
.cbp-panel {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}
#cbp-outer.kaf-grid-narrow .cbp-panel {
  max-width: 880px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}
#cbp-outer {
  width: 100%;
  padding: 0 8px;
  box-sizing: border-box;
}

/* ── Base CBP card ── */
.cbp-caption-defaultWrap {
  overflow: hidden;
  width: 100% !important;
  position: relative;
  height: 380px;
}
.cbp-caption-defaultWrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
}
.cbp-item .box { padding: 14px 10px 10px; background: #fff; }
.cbp-item .post-title { font-size: 0.85rem; letter-spacing: 0.05em; margin-bottom: 2px; }
.cbp-item .meta.category { font-size: 0.75rem; color: #3DED62; letter-spacing: 0.04em; }

/* ── List View Container ── */
#kaf-list-container {
  display: none;
  padding: 24px 32px 40px;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* ── Misc ── */
#share-bar { display: none; }
.kaf-footer { overflow: hidden; }
.kaf-splash-line-block { display: inline-block; margin-top: 10px; }
.kaf-nav-logo { height: 52px; width: auto; display: block; object-fit: contain; }
