/* ==========================================================================
   The Lead Gen Company — sector index (buy-leads landing page)
   Loads AFTER leadhq-lab.css. Every selector is new (ind-*).

   One small tile per sector: a 40x40 line figure with its own short loop,
   plus the sector name. Tiles are sized so 200+ fit without the section
   becoming a second page.

   Adding a sector: copy one <li> in the markup, change the href, the name
   and the <svg>, then add that figure's keyframes at the bottom of this file
   under its own "ind-<sector>" prefix.

   Motion rules: each figure's resting CSS is its finished frame; figures only
   run while on screen (.is-live); reduced motion switches them off.
   ========================================================================== */

.ind-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 7px;
}
.ind {
  display: flex; align-items: center; gap: 10px; min-height: 50px;
  padding: 6px 10px 6px 7px; border: 1px solid var(--line); border-radius: 11px;
  background: linear-gradient(180deg, rgba(255,255,255,.025), transparent), var(--panel);
  color: var(--ink); font-size: .86rem; font-weight: 500; line-height: 1.22; letter-spacing: -.01em;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .35s cubic-bezier(.16, 1, .3, 1);
}
.ind:hover { color: var(--ink); }
.ind:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.ind__fx {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 8px;
  background: rgba(150,180,255,.06); overflow: visible;
}
.ind__name { flex: 1; min-width: 0; }
.ind__go { font-family: var(--mono); font-size: .8rem; color: var(--lime); opacity: 0; transform: translateX(-5px);
  transition: opacity .2s var(--ease), transform .35s cubic-bezier(.16, 1, .3, 1); }
@media (hover: hover) {
  .ind:hover { border-color: rgba(184,255,58,.55); transform: translateY(-2px); }
  .ind:hover .ind__go { opacity: 1; transform: none; }
  .ind:hover .ind__fx .s { stroke: var(--ink); }
}
.ind-foot { margin-top: 22px; font-family: var(--mono); font-size: .78rem; color: var(--ink-3); }
.ind-foot a { font-weight: 700; }

/* shared figure strokes */
.ind__fx * { transform-box: fill-box; transform-origin: center; }
.ind__fx .s { fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s var(--ease); }
.ind__fx .l { fill: var(--lime); }

.ind-js .ind:not(.is-live) .ind__fx * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .ind__fx * { animation: none !important; }
  .ind, .ind__go { transition: none; }
}
@media (max-width: 480px) {
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .ind { font-size: .84rem; padding: 7px 9px 7px 7px; gap: 9px; min-height: 52px; }
  .ind__fx { flex-basis: 34px; width: 34px; height: 34px; }
  .ind__go { display: none; }
}

/* ---- solicitors: an enquiry lands in the pan and tips the scales ------- */
.ind-sol-beam  { transform: rotate(5deg);        animation: ind-sol-beam  6s ease-in-out infinite; }
.ind-sol-left  { transform: translateY(-1.2px);  animation: ind-sol-left  6s ease-in-out infinite; }
.ind-sol-right { transform: translateY(1.2px);   animation: ind-sol-right 6s ease-in-out infinite; }
.ind-sol-lead  { animation: ind-sol-lead 6s cubic-bezier(.5, 0, .9, .6) infinite; }
@keyframes ind-sol-beam  { 0%, 20% { transform: rotate(-5deg); } 34% { transform: rotate(8deg); } 44% { transform: rotate(3deg); } 54%, 86% { transform: rotate(5deg); } 100% { transform: rotate(-5deg); } }
@keyframes ind-sol-left  { 0%, 20% { transform: translateY(1.2px); } 34% { transform: translateY(-1.95px); } 44% { transform: translateY(-.75px); } 54%, 86% { transform: translateY(-1.2px); } 100% { transform: translateY(1.2px); } }
@keyframes ind-sol-right { 0%, 20% { transform: translateY(-1.2px); } 34% { transform: translateY(1.95px); } 44% { transform: translateY(.75px); } 54%, 86% { transform: translateY(1.2px); } 100% { transform: translateY(-1.2px); } }
@keyframes ind-sol-lead  { 0%, 10% { transform: translateY(-13px); opacity: 0; } 13% { opacity: 1; } 22%, 86% { transform: none; opacity: 1; } 94%, 100% { transform: none; opacity: 0; } }
