/* ==========================================================================
   Card Concepts — concept 08 (generic monogram, no media well)
   Sandbox only: card-concepts.html. Do not load on landings.
   Statement header matches Solutions (.bd-eco__intro).
   Self-contained: does not need base.css. Tokens used with fallbacks.
   One white surface. A family-colour disc carries two letters.
   Head row = mark + title, then a thin rule, then copy. No media well.
   ========================================================================== */

.bd-cc8,
.bd-cc8 *,
.bd-cc8 *::before,
.bd-cc8 *::after {
  box-sizing: border-box;
}

.bd-cc8 {
  --bd-cc8-radius: 12px;
  --bd-cc8-rule: #d5d7da;
  --bd-cc8-glow:
    0 0 12px rgba(16, 24, 40, 0.044),
    0 0 40px rgba(16, 24, 40, 0.044);
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: visible;
  padding: 64px 0;
  font-family: var(--bd-font, InterVariable, sans-serif);
  font-feature-settings: "liga" 1, "calt" 1, "cv02", "cv03", "cv04", "cv11";
  font-optical-sizing: auto;
  color: var(--bd-text, #000);
}

.bd-cc8 .bd-wrap {
  width: 100%;
  max-width: var(--bd-content, 1280px);
  margin-inline: auto;
}

.bd-cc8__intro {
  width: 100%;
  margin: 0 0 var(--bd-space-8, 32px);
  padding-bottom: var(--bd-space-8, 32px);
  border-bottom: 1px solid var(--bd-cc8-rule, #d5d7da);
}

.bd-cc8__eyebrow {
  margin: 0 0 var(--bd-space-2, 8px);
  font-size: var(--bd-text-sm, 14px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--bd-accent, #6434d8);
}

.bd-cc8__title {
  margin: 0;
  font-size: 32px;
  font-weight: var(--bd-weight-heading, 500);
  font-variation-settings: "wght" var(--bd-weight-heading, 500);
  line-height: 1.2;
  color: var(--bd-text, #000);
  hyphens: none;
  overflow-wrap: normal;
}

.bd-cc8__lead {
  margin: var(--bd-space-3, 12px) 0 0;
  max-width: 40rem;
  font-size: var(--bd-text-base, 16px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--bd-text, #000);
}

.bd-cc8__set + .bd-cc8__set {
  margin-top: 48px;
}

.bd-cc8__kicker {
  margin: 0 0 var(--bd-space-2, 8px);
  font-size: var(--bd-text-sm, 14px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--bd-accent, #6434d8);
}

.bd-cc8__note {
  margin: 0 0 var(--bd-space-6, 24px);
  max-width: 40rem;
  font-size: var(--bd-text-base, 16px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--bd-text, #000);
}

.bd-cc8__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--bd-space-6, 24px);
  width: 100%;
  min-width: 0;
}

.bd-cc8__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 280px;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: var(--bd-cc8-radius);
  padding: var(--bd-space-6, 24px);
  background: var(--bd-surface, #fff);
  box-shadow: var(--bd-glow, var(--bd-cc8-glow));
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.bd-cc8__card:focus-visible {
  outline: 2px solid var(--bd-link, #2563EB);
  outline-offset: 3px;
}

.bd-cc8__head {
  display: flex;
  align-items: center;
  gap: var(--bd-space-4, 16px);
  min-width: 0;
  padding-bottom: var(--bd-space-5, 20px);
  border-bottom: 1px solid var(--bd-cc8-rule, #d5d7da);
}

.bd-cc8__card--bar .bd-cc8__head {
  border-bottom: 1px solid var(--bd-cc8-field);
}

.bd-cc8__glyph {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  overflow: visible;
  color: #000;
}

.bd-cc8__glyph :is(path, circle, line, rect, ellipse, polyline, polygon) {
  vector-effect: non-scaling-stroke;
}

.bd-cc8__mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bd-cc8-field);
  font-size: 17px;
  font-weight: 500;
  font-variation-settings: "wght" 500;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
}

.bd-cc8__card--purple {
  --bd-cc8-field: #B3B0E9;
}

.bd-cc8__card--green {
  --bd-cc8-field: #9CC7B5;
}

.bd-cc8__card--blue {
  --bd-cc8-field: #78ACE2;
}

.bd-cc8__name {
  margin: 0;
  min-width: 0;
  font-size: 20px;
  font-weight: var(--bd-weight-heading, 500);
  font-variation-settings: "wght" var(--bd-weight-heading, 500);
  line-height: 1.3;
  color: var(--bd-text, #000);
}

.bd-cc8__body {
  margin: var(--bd-space-5, 20px) 0 0;
  font-size: var(--bd-text-base, 16px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--bd-text, #000);
}

.bd-cc8__more {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: var(--bd-space-2, 8px);
  margin-top: auto;
  padding-top: var(--bd-space-6, 24px);
  color: var(--bd-link, #2563EB);
  font-size: var(--bd-text-base, 16px);
  font-weight: 400;
  line-height: 1.2;
}

.bd-cc8__more svg {
  width: 16px;
  height: 16px;
  overflow: visible;
  flex-shrink: 0;
  animation: bd-cc8-arrow 2.4s ease-in-out infinite;
}

.bd-cc8__more svg :is(path, circle, line, rect, ellipse, polyline, polygon) {
  vector-effect: non-scaling-stroke;
}

.bd-cc8__card:hover .bd-cc8__more {
  opacity: 0.7;
}

@keyframes bd-cc8-arrow {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}

@media (max-width: 1023px) {
  .bd-cc8 {
    padding: 48px 0;
  }

  .bd-cc8__title {
    font-size: 28px;
  }

  .bd-cc8__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .bd-cc8__title {
    font-size: 24px;
  }

  .bd-cc8__cards {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bd-cc8__more svg {
    animation: none;
  }
}
