/* "Globally trusted digital tools" section above the footer (tools-v2.php). Source: "ta-tools.html". */
/* style.css paints every span/p/li #ccc; let the section own its colours */
.ttl span,.ttl li,.ttl p{color:inherit}
/* the legacy .footer-wrapper adds 100px of top padding and a dark gradient overlay; neither applies here */
.footer-wrapper:has(.ttl){padding-top:0}
.footer-wrapper:has(.ttl)::before{display:none}
/* ===== TTL START ===== */
.ttl{--ink:#f4f1ec;--mute:rgba(244,241,236,.55);--red:#e3101e;--card:rgba(255,255,255,.035);--line:rgba(255,255,255,.08);
  --colw:clamp(150px,13vw,200px);--cardh:clamp(92px,7.6vw,118px);--gap:14px;
  position:relative;overflow:hidden;isolation:isolate;background:#04050b;color:var(--ink);padding:clamp(56px,8vw,110px) clamp(16px,5vw,80px)}
.ttl *{box-sizing:border-box}
.ttl::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(40% 60% at 78% 50%,rgba(227,16,30,.12),transparent 70%),radial-gradient(30% 50% at 10% 40%,rgba(227,16,30,.06),transparent 70%)}
.ttl__wrap{max-width:1320px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(32px,5vw,80px);align-items:center}

/* left copy */
.ttl__kicker{display:inline-flex;align-items:center;gap:10px;font:600 11px/1 Inter,sans-serif;letter-spacing:.24em;text-transform:uppercase;color:var(--red)}
.ttl__kicker::before{content:"";width:26px;height:1px;background:var(--red)}
.ttl__h{margin:18px 0 0;font:600 clamp(32px,3.8vw,56px)/1.04 Outfit,sans-serif;letter-spacing:-.02em}
.ttl__h .w{display:inline-block;opacity:0;transform:translateY(18px);filter:blur(6px);transition:opacity .8s,transform .8s cubic-bezier(.2,.85,.25,1),filter .8s;transition-delay:calc(var(--i) * 60ms)}
.ttl__h em{font-style:normal;background:linear-gradient(90deg,#ff3b45,#ffb3a8);-webkit-background-clip:text;background-clip:text;color:transparent}
.ttl.in .ttl__h .w{opacity:1;transform:none;filter:none}
.ttl__p{margin:20px 0 0;max-width:44ch;color:var(--mute);font-size:15px;line-height:1.6}

.ttl__chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}
.ttl__chip{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:99px;border:1px solid var(--line);background:none;color:var(--mute);
  font:500 12.5px/1 Inter,sans-serif;cursor:pointer;transition:color .3s,border-color .3s,background .3s,transform .3s cubic-bezier(.3,1.5,.5,1)}
.ttl__chip b{font-weight:600;font-size:11px;color:var(--ink);opacity:.5}
.ttl__chip:hover{color:var(--ink);border-color:rgba(227,16,30,.5)}
.ttl__chip.on{background:var(--red);border-color:var(--red);color:#fff}
.ttl__chip.on b{color:#fff;opacity:.85}
.ttl__chip:active{transform:scale(.95)}

.ttl__stats{display:flex;gap:clamp(20px,3vw,44px);margin-top:34px;padding-top:24px;border-top:1px solid var(--line)}
.ttl__stat strong{display:block;font:700 clamp(26px,2.4vw,34px)/1 Outfit,sans-serif;font-variant-numeric:tabular-nums}
.ttl__stat strong em{font-style:normal;color:var(--red)}
.ttl__stat span{display:block;margin-top:8px;font:500 11px/1.3 Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--mute)}
.ttl__fade{opacity:0;transform:translateY(16px);transition:opacity .8s,transform .8s cubic-bezier(.2,.85,.25,1);transition-delay:var(--d,0s)}
.ttl.in .ttl__fade{opacity:1;transform:none}

/* right: vertical carousels */
.ttl__wall{position:relative;height:clamp(440px,40vw,560px);display:flex;justify-content:center;gap:var(--gap);perspective:1200px;
  -webkit-mask:linear-gradient(transparent,#000 16%,#000 84%,transparent);mask:linear-gradient(transparent,#000 16%,#000 84%,transparent)}
.ttl__tilt{display:flex;gap:var(--gap);transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) rotateZ(-6deg);transition:transform .8s cubic-bezier(.2,.85,.25,1);transform-style:preserve-3d}
.ttl__col{width:var(--colw);height:100%;overflow:visible;position:relative}
.ttl__col:nth-child(2){margin-top:calc(var(--cardh) * -.55)}
.ttl__track{display:flex;flex-direction:column;gap:var(--gap);will-change:transform}

.ttl__card{position:relative;height:var(--cardh);border-radius:18px;display:grid;place-items:center;padding:18px 20px;background:var(--card);border:1px solid var(--line);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);overflow:hidden;cursor:default;
  transition:transform .45s cubic-bezier(.2,.85,.25,1),border-color .35s,background .35s,opacity .4s,filter .4s,box-shadow .45s}
.ttl__card::before{content:"";position:absolute;inset:0;background:radial-gradient(160px circle at var(--mx,50%) var(--my,50%),rgba(227,16,30,.22),transparent 70%);opacity:0;transition:opacity .35s}
.ttl__card img{position:relative;max-width:100%;max-height:44px;object-fit:contain;filter:grayscale(1) brightness(1.6) contrast(.9);opacity:.8;transition:filter .45s,opacity .45s,transform .45s cubic-bezier(.3,1.5,.5,1)}
.ttl__card .nm{position:relative;display:none;font:600 16px/1 Outfit,sans-serif;letter-spacing:-.01em}
.ttl__card.no-img img{display:none}.ttl__card.no-img .nm{display:block}
.ttl__card .tag{position:absolute;left:12px;bottom:10px;font:600 9.5px/1 Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--red);
  opacity:0;transform:translateY(6px);transition:all .35s}
.ttl__card:hover{transform:translateZ(30px) scale(1.06);border-color:rgba(227,16,30,.55);background:rgba(255,255,255,.06);box-shadow:0 20px 40px -12px rgba(0,0,0,.7),0 0 30px rgba(227,16,30,.18);z-index:2}
.ttl__card:hover::before{opacity:1}
.ttl__card:hover img{filter:none;opacity:1;transform:translateY(-6px) scale(1.06)}
.ttl__card:hover .tag{opacity:1;transform:none}
/* category filter */
.ttl.filtering .ttl__card:not(.match){opacity:.18;filter:blur(1px)}
.ttl.filtering .ttl__card.match{border-color:rgba(227,16,30,.6);background:rgba(227,16,30,.08)}
.ttl.filtering .ttl__card.match img{filter:none;opacity:1}

@media (max-width:900px){
  .ttl__wrap{grid-template-columns:minmax(0,1fr)}
  .ttl__wall{height:420px}
  .ttl__tilt{transform:rotateZ(-6deg)}
  .ttl{--colw:clamp(120px,30vw,170px);--cardh:96px}
}
@media (max-width:520px){ .ttl{--colw:29vw;--cardh:78px;--gap:10px} .ttl__card{padding:12px;border-radius:14px} .ttl__card img{max-height:30px} .ttl__card .nm{font-size:13px;text-align:center} .ttl__wall{height:380px} }
@media (prefers-reduced-motion:reduce){
  .ttl *{transition:none!important;animation:none!important}
  .ttl__h .w,.ttl__fade{opacity:1;transform:none;filter:none}
}
/* ===== TTL END ===== */
/* sit above any legacy overlay, and brighten the left column copy */
.footer-wrapper .ttl{z-index:2}
.ttl.ttl{--ink:#fff;--mute:rgba(255,255,255,.78)}
.ttl__h--top{margin-top:0}
.ttl__h em{background:linear-gradient(90deg,#ff2a36,#ff6b5e)!important;-webkit-background-clip:text!important;background-clip:text!important}
.ttl__chip{color:rgba(255,255,255,.85);border-color:rgba(255,255,255,.18)}
.ttl__chip b{opacity:.7}
.ttl__stat span{color:rgba(255,255,255,.7)}
