/* A quiet directory: real tool marks carry the detail, not extra decoration. */
#tools .tool-stack-heading{margin-bottom:clamp(40px,5vw,64px)}
#tools .tool-groups{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(20px,2.5vw,40px);border:0}
#tools .tool-group{display:block;min-width:0;padding:20px 0 0;border-top:1px solid var(--portfolio-border)}
#tools .tool-group:first-child{border-top-color:var(--portfolio-accent)}
#tools .tool-group-title{min-height:2.8em;margin:0 0 16px;padding:0;color:var(--portfolio-ink);font-size:1.05rem;line-height:1.4;text-wrap:balance}
#tools .tool-group-items{display:flex;flex-direction:column;align-items:stretch;gap:4px}
#tools .tool-group .brand-marquee-item{display:flex;width:100%;min-width:0;min-height:48px;padding:4px 0;border:0;border-radius:0;background:transparent;gap:12px}
#tools .tool-group .brand-logo-badge{width:36px;height:36px;flex:0 0 36px}
#tools .tool-group .brand-marquee-name{min-width:0;font-size:1rem;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
@media(max-width:1100px){#tools .tool-groups{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 32px}}
@media(max-width:650px){#tools .tool-stack-heading{margin-bottom:40px}#tools .tool-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px}#tools .tool-group-title{min-height:0;margin-bottom:16px;font-size:1rem}#tools .tool-group .brand-marquee-item{gap:10px}#tools .tool-group .brand-logo-badge{width:32px;height:32px;flex-basis:32px}#tools .tool-group .brand-marquee-name{font-size:.9375rem}}
@media(max-width:340px){#tools .tool-groups{grid-template-columns:1fr}}
