/* Trusted-by bar, view counter and the comments field (assets/extras.js) */

/* ---------- Trusted by: one quiet, endlessly scrolling row ---------- */
.trusted{display:flex;align-items:center;gap:28px;max-width:1200px;margin:0 auto;padding:26px 24px 30px}
.tb-label{flex:none;font-size:13px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.tb-view{position:relative;flex:1;min-width:0;overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent)}
.tb-track{display:flex;width:max-content;animation:tb-scroll 38s linear infinite}
.tb-view:hover .tb-track{animation-play-state:paused}
.tb-set{display:flex;align-items:center;flex:none}
.tb-set span{flex:none;padding:0 26px;font-family:'Outfit','DM Sans',sans-serif;font-size:19px;font-weight:600;letter-spacing:-.01em;color:#8C877F;white-space:nowrap;transition:color .25s}
.tb-set span:hover{color:var(--ink)}
.tb-set span::after{content:"";display:inline-block;width:4px;height:4px;margin-left:52px;border-radius:50%;background:#CFC9C0;vertical-align:middle;transform:translateX(26px)}
@keyframes tb-scroll{to{transform:translateX(-50%)}}
@media (max-width:640px){
  .trusted{flex-direction:column;gap:12px;padding:20px 0 24px}
  .tb-view{width:100%}
  .tb-set span{font-size:16px;padding:0 18px}
  .tb-set span::after{margin-left:36px;transform:translateX(18px)}
}
@media (prefers-reduced-motion:reduce){
  .tb-track{animation:none;flex-wrap:wrap;justify-content:center;width:auto}
  .tb-set[aria-hidden]{display:none}
  .tb-view{-webkit-mask-image:none;mask-image:none}
  .tb-set{flex-wrap:wrap;justify-content:center;row-gap:8px}
}

/* ---------- View counter in the proof strip ---------- */
.strip-grid{grid-template-columns:1.7fr 1fr 1fr 1fr}
.strip b.count{font-variant-numeric:tabular-nums;font-size:clamp(30px,3.6vw,48px);white-space:nowrap}
@media (max-width:900px){
  .strip-grid{grid-template-columns:repeat(2,1fr)}
  .strip-grid>div:first-child{grid-column:1/-1}
}

/* ---------- Comments field: drag to explore ---------- */
.cmt{padding-bottom:40px}
.cmt-sub{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:14px;font-size:16px;color:var(--muted)}
.cmt-sub svg{width:20px;height:20px;flex:none}
.cmt-stage{position:relative;max-width:1320px;height:640px;margin:30px auto 0;overflow:hidden;
  background:transparent;cursor:grab;touch-action:pan-y;user-select:none;-webkit-user-select:none;
  /* no box: the field fades out toward all four edges (two straight fades, intersected = rectangular) */
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent),linear-gradient(180deg,transparent,#000 14%,#000 86%,transparent);
  -webkit-mask-composite:source-in;
          mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent),linear-gradient(180deg,transparent,#000 14%,#000 86%,transparent);
          mask-composite:intersect}
.cmt-stage.dragging{cursor:grabbing}
.cmt-stage:focus-visible{outline:3px solid var(--coral-ink,#D9685F);outline-offset:4px}
.cmt-tile{position:absolute;left:0;top:0;width:var(--tw);height:var(--th);display:grid;place-items:center;will-change:transform,opacity}
.cmt-tile img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;border-radius:12px;
  box-shadow:0 10px 26px rgba(17,17,19,.16);pointer-events:none;-webkit-user-drag:none}
.cmt-stage noscript,.cmt-fallback{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;padding:24px;overflow:auto;height:100%}
.cmt-fallback img{max-width:300px;width:100%;height:auto;border-radius:12px}
@media (max-width:899px){
  .cmt-stage{height:480px;margin:22px 0 0}
}

/* author photo badge: the full number needs a smaller size */
.author-photo .lg b.count{font-size:clamp(20px,2.3vw,27px);font-variant-numeric:tabular-nums;white-space:nowrap}
