/* work.php — layout only; components come from ui-v2.css */
.work-hero .hero-actions{margin-top:var(--s-6)}
.work-hero .stats--inline{margin-top:var(--s-6);align-items:end}
.work-hero .stat__n{color:#fff}
.work-hero .stat--text .stat__label{font-family:var(--font-mono);font-size:12px;letter-spacing:.04em;margin-top:0;padding-bottom:4px}
@media (max-width:768px){
  .work-hero .stats--inline{gap:12px 20px}
  .work-hero .stat--text{flex:1 1 100%}
  .work-hero .stat--text .stat__label{padding-bottom:0}
}

/* filters + card grid */
.work-filters{margin-bottom:var(--s-5)}
.work-filters .chip{flex:0 0 auto}
[data-filter-target] [hidden]{display:none!important}
.work-grid .card__media .placeholder{width:100%;height:100%;background:var(--grad-ink)}
.work-grid .card__result{overflow:hidden}
.work-grid .card__result-text{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.work-grid .card__body h3{font-size:var(--fs-h4);line-height:1.3}
.work-grid .tag-mono{align-self:flex-start;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:28px}
@media (max-width:768px){
  .work-grid .card__body h3{font-size:15px}
  .work-grid .tag-mono{font-size:12px;min-height:24px;line-height:24px;padding:0 8px}
}

/* spec cards used as paired comparison, outcomes and types */
.work-proves .card--spec:not(.card--dark){padding-right:var(--s-4)}
.work-outcomes .card--spec p,.work-types .card--spec p{font-size:var(--fs-small)}
@media (max-width:768px){
  .work-proves .card--spec:not(.card--dark){border:var(--border);border-radius:var(--r-lg);padding:var(--s-5);background:var(--paper)}
  .work-outcomes .card--spec,.work-types .card--spec{padding-top:var(--s-4)}
  .work-types .card--spec h3{font-size:16px}
}

/* ruled b/span items (how to read, what carries) instead of stacked boxes */
.work-ruled .included-item,.work-ruled .checklist-item{background:none;border:0;border-top:var(--border);border-radius:0;padding:var(--s-4) 0 0;box-shadow:none}
.work-ruled .included-item b,.work-ruled .checklist-item b{font-size:var(--fs-h4);letter-spacing:-.01em}
.work-ruled .included-item span,.work-ruled .checklist-item span{margin-top:6px;font-size:var(--fs-small)}
.work-ruled--dark .included-item{border-top-color:var(--hair-dark-strong)}
.work-ruled--dark .included-item b{color:#fff}
@media (max-width:768px){.work-ruled .included-item span,.work-ruled .checklist-item span{font-size:13px}}

/* testimonial rail */
.testi-card .av{flex:0 0 auto;width:44px;height:44px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:rgba(255,255,255,.1);font-size:13px;font-weight:600;color:#fff}
.testi-card .av img{width:100%;height:100%;object-fit:cover;display:block}
.testi-card .meta b{display:block;font-size:14px;color:#fff;font-weight:600}
.testi-card .meta span{display:block;font-size:12px;color:var(--text-inverse-muted)}
