/* =========================================================================
   template-parts/trust-lockup.php
   The site's single Shopify Partners + Clutch lockup (17 Sep 2026).
   Partner wordmark, hairline, Clutch wordmark with the score and stars
   stacked under it. One step larger than the hero row it replaces.
   ========================================================================= */

.es-trust {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--space-6);
  max-width: 100%;
}

.es-trust__partner {
  display: block;
  width: auto;
  height: 44px;
  flex-shrink: 1;
  min-width: 0;
  object-fit: contain;
}

.es-trust__rule {
  width: 1px;
  height: 48px;
  flex-shrink: 0;
  background: var(--border-default);
}

.es-trust__clutch {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1, 4px);
  color: inherit;
  text-decoration: none;
}

.es-trust__clutch-logo {
  display: block;
  width: auto;
  height: 30px;
}

.es-trust__score-row {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  line-height: 1;
}

.es-trust__score {
  color: var(--clutch-ink);
  font-size: var(--text-sm);
  font-weight: var(--font-bold, 700);
  font-variant-numeric: tabular-nums;
}

.es-trust__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--clutch-red);
}

.es-trust__star { width: 12px; height: 12px; }

a.es-trust__clutch:hover .es-trust__score,
a.es-trust__clutch:focus-visible .es-trust__score { text-decoration: underline; }

a.es-trust__clutch:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 4px;
  border-radius: var(--radius-xs);
}

/* Small: footer and dense rows. */
.es-trust--sm { gap: var(--space-5); }
.es-trust--sm .es-trust__partner { height: 32px; }
.es-trust--sm .es-trust__rule { height: 38px; }
.es-trust--sm .es-trust__clutch-logo { height: 24px; }
.es-trust--sm .es-trust__score { font-size: var(--text-xs); }
.es-trust--sm .es-trust__star { width: 10px; height: 10px; }

/* Dark ground: both wordmarks are single-ink artwork, so they flip to white.
   The stars keep Clutch red, which reads on dark. */
.es-trust--dark .es-trust__partner,
.es-trust--dark .es-trust__clutch-logo { filter: brightness(0) invert(1); }
.es-trust--dark .es-trust__rule { background: rgba(255, 255, 255, 0.18); }
.es-trust--dark .es-trust__score { color: var(--text-inverse); }

@media (max-width: 575px) {
  .es-trust { gap: var(--space-4); }
  .es-trust__partner { height: 32px; }
  .es-trust__rule { height: 40px; }
  .es-trust__clutch-logo { height: 24px; }
}
