/* ==========================================================================
   PRISM — Layout primitives
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-section);
  position: relative;
}

/* Sections that host a decorative .bg-mesh must clip it and lift their
   real content into its own stacking context above it. */
.section--glow { overflow: clip; }
.section--glow > .container { position: relative; z-index: 1; }

.section__head {
  max-width: 640px;
  margin-bottom: var(--space-8);
}
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
}

.section__eyebrow { margin-bottom: var(--space-4); }
.section__title {
  margin-bottom: var(--space-4);
  max-width: 24.5ch;
}
.section__head--center .section__title {
  margin-inline: auto;
}
.section__lead {
  font-size: var(--fs-lead);
  color: var(--ink-500);
  max-width: 52ch;
}

main { display: block; overflow-x: clip; }

/* Generic responsive grids */
.grid { display: grid; gap: var(--space-6); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .grid--3, .grid--4, .grid--6 { grid-template-columns: 1fr; }
  .section__head--split { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------------------- */
/* Decorative background blobs - removed for cleaner visual hierarchy     */
/* ---------------------------------------------------------------------- */
.bg-mesh,
.bg-mesh__blob {
  display: none !important;
}

/* ---------------------------------------------------------------------- */
/* Section Divider Bar (Site-wide between sections)                       */
/* ---------------------------------------------------------------------- */
section:not(:first-child):not(.hero):not(.portfolio-hero):not(.about-hero):not(.contact-hero):not(.service-hero):not(.chat-hero):not(.voice-hero):not(.agent-hero):not(.blog-hero):not(.post-hero)::before,
main > .section:not(:first-child):not(.hero):not(.portfolio-hero):not(.about-hero):not(.contact-hero):not(.service-hero):not(.chat-hero):not(.voice-hero):not(.agent-hero):not(.post-hero):not(.blog-hero)::before,
.section-divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(200px, 32vw, 420px);
  height: 1.5px;
  background: var(--brand-accent);
  opacity: 0.65;
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 2;
}

.blog-hero::before,
.post-hero::before {
  display: none !important;
}


