/* ============================================================
   ADO 929 — "Who built it" / companies behind Donna365
   Entity cards (Evocate + The Family Lawyer) on the About page.
   Dark theme; logos sit on white plates so brand marks read cleanly.
   Palette mirrors ado-design-partner.css.
   ============================================================ */
.section-built-by {
  --bb-surface: #1B1B33;
  --bb-line: rgba(255, 255, 255, 0.10);
  --bb-text: #F4F4FF;
  --bb-muted: #B9B9D6;
  --bb-grad: linear-gradient(120deg, #5B5BFF 0%, #7B6BFF 52%, #9B7BFF 100%);
  position: relative;
  /* Own dark band: the entity cards are dark + self-contained, and the heading
     lead / note are light text, so the section needs a dark backdrop to read
     (the About page body is light). Mirrors the box-black interior treatment. */
  background:
    radial-gradient(120% 120% at 50% -10%, rgba(91, 91, 255, 0.14) 0%, rgba(10, 10, 26, 0) 55%),
    linear-gradient(180deg, #0A0A1A 0%, #101024 100%);
}
/* The markup uses text-gradient-3 (a DARK gradient for light backgrounds),
   which is invisible on this dark band. Force a solid light fill so the
   heading reads white on dark (simplest + bulletproof; the gradient text
   effect is not worth the clip fragility here). */
.section-built-by .heading-title,
.section-built-by .heading-title.text-gradient-3 {
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
}

.section-built-by .built-by-head {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}
.section-built-by .built-by-lead {
  color: #D6D6EC;
  font-size: 18px;
  line-height: 1.6;
  margin-top: 16px;
}

.built-by-grid { align-items: stretch; }
.built-by-col { display: flex; }

.built-by-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--bb-surface);
  border: 1px solid var(--bb-line);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
/* gradient top accent — the brand orange->purple family */
.built-by-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--bb-grad);
  opacity: 0.95;
}
.built-by-card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 107, 255, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.built-by-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.built-by-logo { display: inline-flex; align-items: center; }
.built-by-logo img {
  display: block;
  height: 34px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
/* white plate so logos with baked-in dark/coloured backgrounds read on navy */
.built-by-logo.has-plate {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.built-by-logo.has-plate img { height: 30px; }

.built-by-role {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bb-text);
  background: rgba(123, 107, 255, 0.16);
  border: 1px solid rgba(123, 107, 255, 0.4);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}

.built-by-name {
  color: var(--bb-text);
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 6px;
}

.built-by-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9B7BFF;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  margin-bottom: 18px;
}
.built-by-url:hover { color: #C7B6FF; text-decoration: underline; }
.built-by-url i { font-size: 12px; }

.built-by-body { margin-bottom: 22px; }
.built-by-body p {
  color: #D6D6EC;
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 12px;
}
.built-by-body p:last-child { margin-bottom: 0; }

.built-by-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.built-by-tag {
  font-size: 12.5px;
  font-weight: 500;
  color: #EDEDFA;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 13px;
}

.built-by-note {
  color: #D6D6EC;
  font-size: 15px;
  margin-top: 36px;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .built-by-card { padding: 26px; }
  .built-by-name { font-size: 23px; }
}
@media (max-width: 575px) {
  .built-by-card-top { flex-direction: column; align-items: flex-start; }
  .built-by-logo img { height: 30px; }
}

/* ============================================================
   Founder letter (About page jazz-up) — used inside the first
   prose band via the founder-letter shortcode. Premium note
   treatment: oversized lead, accent rule, signature + monogram.
   ============================================================ */
.founder-letter {
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  padding: 8px 4px;
}
.founder-letter-mark {
  color: #7B6BFF;
  margin-bottom: 18px;
  opacity: 0.9;
}
.founder-letter-lead {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.34;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #18181B;
  margin: 0 0 32px;
  padding-right: 6%;
}
.founder-letter-body { position: relative; padding-left: 22px; }
.founder-letter-body::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px;
  border-radius: 3px;
  background: linear-gradient(180deg, #F5772E 0%, #9B7BFF 55%, #13B1FF 100%);
}
.founder-letter-body p {
  font-size: 17px;
  line-height: 1.7;
  color: #3F3F46;
  margin: 0 0 16px;
}
.founder-letter-body p:last-child { margin-bottom: 0; }

.founder-letter-sign {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(24, 24, 27, 0.10);
}
.founder-letter-monogram {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: linear-gradient(135deg, #5B5BFF 0%, #7B6BFF 52%, #9B7BFF 100%);
  box-shadow: 0 6px 16px rgba(123, 107, 255, 0.35);
}
.founder-letter-sign-text { display: flex; flex-direction: column; line-height: 1.3; }
.founder-letter-name { font-weight: 700; font-size: 17px; color: #18181B; }
.founder-letter-role { font-size: 14px; color: #71717A; }

@media (max-width: 575px) {
  .founder-letter-body { padding-left: 16px; }
  .founder-letter-lead { font-size: 21px; }
}
