/* ===========================================================================
   ASIC Vision — the home page's "Works with" (#av-makers) and "Authorized partners" (#av-partners), and the partner
   directory (/partners, main#av-directory). Loaded AFTER /styles.css, only by the pages that use it.

   The owner's designs (2026-11-19): the partners are the ORBIT ("one verified network" — the ASIC Vision eye at the
   centre, a lit line to every partner, the organised cards under it); the makers are the SOCKET (the supported maker's
   die seated and lit, the coming ones lifted above empty sockets). Ported from the judged mockups with his changes:
   - the site's calm stays: ONE living element — the pulses on the network's lines. No radar, ripples, satellites,
     bobbing, LED pings, sheen or marquee. The pulses pause while the picture is off screen (partners.js).
   - prefers-reduced-motion: nothing moves, nothing is hidden.
   - contact rows never overflow their card (minmax(0,1fr) + ellipsis); the values are text, on a phone too.
   - badges are the site's --r-sm, never 999 px pills. Only the site's own tokens (styles.css :root).
   =========================================================================== */
:root{
  --ok:#3fcf8e;                  /* "selling plans now" — a brighter cousin of --good, legible at 7 px */
  --orb-line:#9cc0ff;
}
.sr-only{position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}
/* [hidden] wins over every display rule below (no partners hides the section; the directory's states) */
#av-partners[hidden],#av-makers[hidden],[data-partners-rule][hidden],#av-partners [hidden],#av-directory [hidden],#av-makers [hidden]{display:none !important}
.ico{display:inline-grid; place-items:center; flex:none; line-height:0}
.ico svg{width:100%; height:100%; display:block}

/* ===========================================================================
   WORKS WITH — the makers as dies in sockets (from the "socket" design)
   =========================================================================== */
.mk-section .sec-head{margin-bottom:38px}
.mk-row{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px}
.mk-row > li{display:flex; min-width:0}
.mk{flex:1; display:flex; flex-direction:column; gap:18px; min-width:0; padding:16px 16px 20px; border-radius:var(--r-lg); border:1px solid var(--line);
  background:var(--surface); box-shadow:var(--inner-edge); transition:border-color .2s, transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s}
.mk:hover{transform:translateY(-4px); border-color:var(--line-strong); box-shadow:0 24px 50px -28px rgba(0,0,0,.8), var(--inner-edge)}
.mk--available{border-color:rgba(76,141,255,.42); background:radial-gradient(120% 80% at 50% 0%, rgba(76,141,255,.11), transparent 62%), var(--surface)}
.mk--available:hover{border-color:var(--accent)}
.mk:focus-visible{outline:2px solid var(--accent); outline-offset:3px}

/* the socket: a recessed frame ringed with pin holes */
.mk-socket{position:relative; display:block; aspect-ratio:16 / 10; border-radius:12px; border:1px solid var(--line-strong);
  background:linear-gradient(180deg,#0a0e14,#0d1118); box-shadow:inset 0 3px 16px rgba(0,0,0,.7), var(--inner-edge)}
.mk-pins,.mk-pins-lit{position:absolute; inset:7px; padding:9px; border-radius:8px; pointer-events:none;
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite:exclude}
.mk-pins{background:radial-gradient(circle, #2b3443 1.2px, transparent 1.7px) 0 0/8px 8px}
.mk-pins-lit{opacity:0; background:radial-gradient(circle, #8db8ff 1.2px, transparent 1.9px) 0 0/8px 8px; filter:drop-shadow(0 0 3px rgba(76,141,255,.9)); transition:opacity .6s .6s}
.mk--available .mk-pins-lit{opacity:1}
.mk-seat{position:absolute; left:50%; top:50%; width:58%; aspect-ratio:16 / 10; transform:translate(-50%,-50%); border-radius:8px; border:1px dashed #354153}
.mk--coming .mk-seat{background:radial-gradient(closest-side, rgba(0,0,0,.6), transparent)}

/* the die: silicon, a pin-1 dot, the maker's name as a plain text wordmark (or the owner's upload of its logo) */
.mk-die{container-type:inline-size; position:absolute; left:50%; top:50%; width:58%; aspect-ratio:16 / 10; translate:-50% -50%; overflow:hidden;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; padding:6%; border-radius:8px; border:1px solid #3a4558;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 42%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, transparent 1px 6px),
    linear-gradient(160deg, #232c3b, #151b26 58%, #10151e);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 6px 14px -6px rgba(0,0,0,.85); transition:box-shadow .5s, border-color .5s}
.mk-p1{position:absolute; left:7%; top:11%; width:5px; height:5px; border-radius:50%; background:#5a677b}
.mk-word{max-width:100%; font-size:11.5cqw; font-weight:780; letter-spacing:-.02em; line-height:1.05; color:#eef2f8; text-shadow:0 1px 0 rgba(0,0,0,.6); text-align:center; overflow-wrap:anywhere}
.mk-sub{font-family:var(--mono); font-size:5.4cqw; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--text-muted)}
.mk-die img{display:block; max-width:82%; max-height:62%; object-fit:contain}
/* the available maker is lit AT REST: its pins glow and its die carries the accent — nothing has to move for it */
.mk--available .mk-die{border-color:rgba(76,141,255,.6); box-shadow:inset 0 1px 0 rgba(255,255,255,.09), 0 0 0 1px rgba(0,0,0,.45), 0 0 26px -6px rgba(76,141,255,.6)}
.mk--coming .mk-die{transform:translateY(-12px) rotate(-1.2deg); opacity:.8; box-shadow:inset 0 1px 0 rgba(255,255,255,.06), 0 22px 24px -14px rgba(0,0,0,.9)}
.mk--coming .mk-word{color:#c7d0dd}

/* the ZIF lever: closed on a seated die, open while the die waits */
.mk-lever{position:absolute; left:9%; bottom:-3px; width:30%; height:4px; border-radius:3px; transform-origin:0 50%;
  background:linear-gradient(180deg,#5e6a7c,#3a4454); transition:transform .6s cubic-bezier(.3,.9,.3,1.2) .55s}
.mk-lever::after{content:""; position:absolute; right:-4px; top:50%; width:9px; height:9px; border-radius:50%; transform:translateY(-50%); background:#6f7c90}
.mk--coming .mk-lever{transform:rotate(-15deg)}

.mk-info{display:flex; flex-direction:column; gap:8px; min-width:0; padding:0 4px; flex:1}
.mk-name{display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; min-width:0}
.mk-name h3{display:flex; align-items:baseline; flex-wrap:wrap; gap:0 8px; min-width:0; font-size:18px; font-weight:750}
.mk-name h3 small{font-size:13px; font-weight:500; color:var(--text-muted)}
.mk-st{display:inline-flex; align-items:center; gap:6px; padding:3px 9px; border-radius:var(--r-sm); border:1px solid var(--line-strong); font-size:10.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--text-muted); white-space:nowrap}
.mk-st i{width:6px; height:6px; border-radius:50%; background:currentColor; opacity:.8}
.mk--available .mk-st{color:#fff; border-color:var(--accent-dim); background:linear-gradient(180deg,var(--accent),var(--accent-dim))}
.mk--available .mk-st i{background:#fff; opacity:1; box-shadow:0 0 6px #fff}
.mk-blurb{font-size:13.5px; color:var(--text-dim); overflow-wrap:anywhere}
.mk-go{margin-top:auto; font-size:13px; font-weight:600; color:var(--accent)}
.mk--coming .mk-go{color:var(--text-muted)}
.mk:hover .mk-go{color:#8cb6ff}
.mk-tm{margin:18px 0 0; text-align:center; font-size:11.5px; color:var(--text-muted)}

/* ===========================================================================
   THE ORBIT — the ASIC Vision eye at the centre, every partner on a ring, a lit line to each one
   =========================================================================== */
.avp .sec-head{margin-bottom:26px}
.orb{position:relative; margin:0 auto; overflow:clip; overflow-clip-margin:22px}
.orb-stage{position:relative; margin:0 auto; isolation:isolate; --core:150px; --node:68px}
.orb-stage::before{content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(closest-side,rgba(76,141,255,.14),rgba(76,141,255,.045) 52%,transparent 100%)}
.orb-svg{position:absolute; left:0; top:0; overflow:hidden; pointer-events:none}

/* orbits — still lines; only the pulses move */
.orb-ring{fill:none; stroke:rgba(255,255,255,.075); stroke-width:1}
.orb-ring.is-dash{stroke:rgba(76,141,255,.24); stroke-dasharray:2 9}
.orb-ring.is-faint{stroke:rgba(255,255,255,.035); stroke-dasharray:1 5}

/* links: verified = a lit line from the eye; a pulse travels outward and the partner flashes as it lands */
.orb-ln{fill:none; stroke-width:1.25; stroke-linecap:round; transition:opacity .3s, stroke-width .3s}
.orb-link.is-closed .orb-ln{stroke:rgba(150,162,184,.32); stroke-dasharray:3 6}
.orb-link.is-more .orb-ln{stroke:rgba(150,162,184,.22); stroke-dasharray:1 5}
.orb-pulse{fill:none; stroke:#e2ecff; stroke-opacity:.95; stroke-width:2.2; stroke-linecap:round; stroke-dasharray:7 93; stroke-dashoffset:7;
  animation:orbPulse var(--pd,3.4s) linear infinite; animation-delay:var(--pdl,0s)}
.orb-link{transition:opacity .3s}
.has-hot .orb-link:not(.hot){opacity:.22}
.orb-link.hot .orb-ln{stroke-width:2}
/* the one living element rests while nobody can see it (partners.js toggles .is-off with an IntersectionObserver) */
.orb.is-off .orb-pulse,.orb.is-off .orb-float::after{animation-play-state:paused}

/* the core: the shipped mark (/assets/logo.png), never redrawn */
.orb-core{position:absolute; left:50%; top:50%; z-index:2; width:var(--core); height:var(--core);
  margin:calc(var(--core) / -2) 0 0 calc(var(--core) / -2); transform:translate(var(--cx,0px),var(--cy,0px))}
.orb-core::before{content:""; position:absolute; inset:calc(var(--core) * -.085); border-radius:50%; border:1px solid rgba(76,141,255,.22)}
.orb-halo{position:absolute; inset:-58%; border-radius:50%; pointer-events:none;
  background:radial-gradient(circle,rgba(76,141,255,.26),rgba(76,141,255,.07) 45%,transparent 68%)}
.orb-disc{position:absolute; inset:0; z-index:1; display:grid; place-items:center; border-radius:50%;
  background:radial-gradient(circle at 50% 28%,#1c2e50,#0c1220 70%); border:1px solid rgba(76,141,255,.5);
  box-shadow:0 0 0 7px rgba(76,141,255,.06),0 0 64px rgba(76,141,255,.3),0 18px 50px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.1),inset 0 -14px 30px rgba(0,0,0,.45)}
.orb-disc img{display:block; width:72%; height:auto; filter:drop-shadow(0 0 14px rgba(76,141,255,.45))}
.orb-cap{position:absolute; left:50%; top:calc(100% + 16px); z-index:1; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center; gap:5px; white-space:nowrap; pointer-events:none;
  padding:6px 10px 5px; border-radius:8px; background:rgba(11,14,19,.78)}
.orb-cap img{display:block; height:15px; width:auto; filter:drop-shadow(0 1px 2px rgba(0,0,0,.5))}
.orb-cap span{font-family:var(--mono); font-size:9.5px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:#8a96a8}
.is-round .orb-cap{display:none}
/* one partner on a narrow screen: the caption has no room beside the name — not drawn (partners.js soloFit) */
.is-solo.is-narrow .orb-cap{display:none}

/* the "Verified" seal riding the single line (one partner) */
.orb-seal{position:absolute; left:50%; top:50%; z-index:2; transform:translate(calc(-50% + var(--sx,0px)),calc(-50% - 24px + var(--cy,0px)));
  display:inline-flex; align-items:center; gap:6px; padding:4px 10px 4px 7px; border-radius:var(--r-sm); white-space:nowrap;
  font-size:10.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#cfe0ff;
  background:rgba(14,22,38,.92); border:1px solid rgba(76,141,255,.45); box-shadow:0 0 22px rgba(76,141,255,.22)}
.orb-seal .ico{width:14px; height:14px; color:var(--accent)}

/* partner nodes */
.orb-node{position:absolute; left:50%; top:50%; z-index:3; width:var(--node); height:var(--node);
  margin:calc(var(--node) / -2) 0 0 calc(var(--node) / -2); border-radius:calc(var(--node) * .28);
  transform:translate(var(--x,0px),var(--y,0px)); transition:transform .75s cubic-bezier(.2,.8,.2,1),opacity .5s ease; transition-delay:var(--td,0ms)}
.orb-node:focus-visible{outline:none}
.orb-node:focus-visible .orb-plate{outline:2px solid var(--accent); outline-offset:5px}
.orb-float{position:relative; display:block; width:100%; height:100%; transition:opacity .25s ease}
.orb-float::after{content:""; position:absolute; inset:-6px; border-radius:calc(var(--node) * .28 + 6px); pointer-events:none; opacity:0;
  box-shadow:0 0 0 1.5px rgba(170,200,255,.9),0 0 22px rgba(76,141,255,.6); animation:orbRecv var(--pd,3.4s) linear infinite; animation-delay:var(--pdl,0s)}
.orb-node.is-closed .orb-float::after,.orb-node.is-more .orb-float::after{display:none}
.orb-node .orb-plate{--ps:var(--node); transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s,filter .3s}
.orb-node.is-open .orb-plate{box-shadow:0 0 0 1px rgba(76,141,255,.6),0 0 0 5px rgba(11,14,19,.9),0 0 0 6px rgba(76,141,255,.24),0 14px 34px rgba(0,0,0,.55)}
.orb-node.is-closed .orb-plate{filter:saturate(.5) brightness(.78); box-shadow:0 0 0 1px var(--line-strong),0 0 0 5px rgba(11,14,19,.9),0 14px 34px rgba(0,0,0,.5)}
.orb-node:hover .orb-plate,.orb-node.hot .orb-plate{transform:scale(1.09)}
.orb-node.is-closed:hover .orb-plate,.orb-node.is-closed.hot .orb-plate{filter:none}
/* hover dimming lives on the children: the node's own opacity carries the staggered entrance */
.has-hot .orb-node:not(.hot) .orb-float{opacity:.42}
.has-hot .orb-node:not(.hot) .orb-label{opacity:.5}
.orb-label{position:absolute; left:50%; top:calc(100% + 11px); z-index:4; transform:translate(calc(-50% + var(--lx,0px)),var(--ly,0px));
  display:inline-flex; align-items:center; gap:7px; width:max-content; max-width:170px; pointer-events:none; white-space:nowrap;
  font-size:12.5px; font-weight:600; line-height:1.25; color:var(--text-dim); transition:color .2s;
  text-shadow:0 1px 10px var(--bg),0 0 3px var(--bg)}
.orb-label b{min-width:0; font-weight:600; overflow:hidden; text-overflow:ellipsis}
.orb-node.up .orb-label{top:auto; bottom:calc(100% + 11px)}
.orb-node:hover .orb-label,.orb-node:focus-visible .orb-label,.orb-node.hot .orb-label{color:var(--text)}
.orb-led{flex:none; width:6px; height:6px; border-radius:50%; background:var(--ok); box-shadow:0 0 8px rgba(63,207,142,.7)}
.is-closed .orb-led,.orb-led.off{background:var(--text-faint); box-shadow:none}
/* phone / narrow: no names on the ring (the cards carry them); a tooltip on hover or focus */
.is-round .orb-label{display:none}
.is-round .orb-node:hover .orb-label,.is-round .orb-node:focus-visible .orb-label{display:inline-flex; padding:5px 9px; border-radius:var(--r-sm);
  background:var(--raised); border:1px solid var(--line-strong); text-shadow:none; box-shadow:var(--shadow-panel)}
/* a tooltip on a node near the left/right edge opens inward, so it is never cut */
.is-round .orb-node.al-l .orb-label{left:0; transform:none}
.is-round .orb-node.al-r .orb-label{left:auto; right:0; transform:none}
/* ONE partner: the name is the headline of the picture — one line, its status one small badge under it.
   (The label is absolutely placed inside a 96 px node, so it must size to its own content, never to the node.) */
.is-solo .orb-label{flex-direction:column; align-items:center; gap:7px; width:max-content; max-width:var(--lw,280px); white-space:nowrap; text-align:center;
  font-size:16px; font-weight:700; color:var(--text)}
.is-solo .orb-label b{display:block; max-width:100%; font-weight:700}
.is-solo .orb-label small{display:inline-flex; align-items:center; gap:7px; max-width:100%; padding:3px 9px; border-radius:var(--r-sm);
  border:1px solid var(--line-strong); background:rgba(17,21,29,.9); font-size:11.5px; font-weight:600; color:var(--text-dim); text-shadow:none}
.is-solo .orb-label small span{overflow:hidden; text-overflow:ellipsis}
.orb-more{display:grid; place-items:center; width:100%; height:100%; font-family:var(--mono); font-weight:700; font-size:calc(var(--node) * .27); color:var(--text)}
.orb-node.is-more .orb-plate{background:var(--surface-2); box-shadow:0 0 0 1px var(--line-strong),0 0 0 5px rgba(11,14,19,.9),0 14px 34px rgba(0,0,0,.5)}
.orb-node.is-more:hover .orb-plate{box-shadow:0 0 0 1px var(--accent-dim),0 0 0 5px rgba(11,14,19,.9),0 0 24px rgba(76,141,255,.35)}

/* legend under the picture */
.orb-legend{display:flex; flex-wrap:wrap; justify-content:center; gap:8px 24px; margin:16px 0 0; font-size:12.5px; color:var(--text-muted)}
.orb-legend:empty{display:none}
.orb-legend span{display:inline-flex; align-items:center; gap:8px}
.lg-line{width:24px; height:2px; border-radius:2px; background:linear-gradient(90deg,var(--orb-line),rgba(76,141,255,.2)); box-shadow:0 0 8px rgba(76,141,255,.45)}
.lg-led{flex:none; width:7px; height:7px; border-radius:50%; background:var(--ok); box-shadow:0 0 8px rgba(63,207,142,.55)}
.lg-led.off{background:var(--text-faint); box-shadow:none}

/* ===========================================================================
   PARTNER CARDS — the organised half: name, verification, status, every channel as text
   =========================================================================== */
.plate{--ps:52px; position:relative; flex:none; display:grid; place-items:center; width:var(--ps); height:var(--ps); overflow:hidden;
  border-radius:calc(var(--ps) * .27); background:var(--raised); box-shadow:0 0 0 1px rgba(255,255,255,.08),0 6px 16px rgba(0,0,0,.4)}
.plate img{display:block; width:100%; height:100%; object-fit:contain}
.plate.is-wide img{padding:11%}   /* a wide or tall uploaded logo breathes instead of touching the edges */
.plate.is-mono{background:linear-gradient(145deg,hsl(var(--mh,214) 46% 25%),hsl(var(--mh,214) 55% 11%));
  box-shadow:inset 0 0 0 1px hsl(var(--mh,214) 50% 42% / .55),inset 0 1px 0 rgba(255,255,255,.08),0 6px 16px rgba(0,0,0,.4)}
.mono-txt{font-weight:750; font-size:calc(var(--ps) * .36); letter-spacing:-.03em; line-height:1; color:hsl(var(--mh,214) 90% 83%)}

.avp-dir-head{display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin:54px 0 18px; padding-bottom:14px; border-bottom:1px solid var(--line)}
.avp-dir-head h3{font-size:18px; font-weight:700}
.avp-count{font-size:12px; color:var(--text-muted); text-align:right}
.avp-count b{color:var(--text-dim); font-weight:600}

.pgrid{gap:18px}
/* home: four across only where a card is wide enough to read its values (the page's full 1180 px width); three below
   that, two at 960, one on a phone. The directory takes as many 300 px columns as fit — three at full width. */
.pgrid--home{display:flex; flex-wrap:wrap; justify-content:center}
.pgrid--home .pcard{flex:0 1 calc((100% - 36px) / 3); min-width:0}
.pgrid--home.is-few .pcard{flex-basis:340px}
.pgrid--dir{display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.pgrid.is-solo{display:flex; justify-content:center}
@media (min-width:1180px){
  .pgrid--home .pcard{flex-basis:calc((100% - 54px) / 4)}
  .pgrid--home.is-few .pcard{flex-basis:340px}
  /* four across: the value takes the room — no ↗ (the row is the link), a smaller icon, tighter padding */
  .pgrid--home:not(.is-few):not(.is-solo) .pcard{padding:18px}
  .pgrid--home:not(.is-few):not(.is-solo) .pc-row{gap:10px; padding-right:10px}
  .pgrid--home:not(.is-few):not(.is-solo) .pc-row .ico.ch{width:30px; height:30px; padding:7px}
  .pgrid--home:not(.is-few):not(.is-solo) .pc-row .ico.go{display:none}
}

.pcard{position:relative; display:flex; flex-direction:column; gap:14px; min-width:0; padding:20px; border:1px solid var(--line); border-radius:var(--r-lg);
  background:linear-gradient(180deg,rgba(255,255,255,.02),transparent 42%),var(--surface); box-shadow:var(--inner-edge);
  transition:border-color .2s,transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s; scroll-margin-top:calc(var(--nav-h) + 28px)}
.pcard[hidden]{display:none}
.pcard.is-open::before{content:""; position:absolute; left:18px; right:18px; top:-1px; height:1px; pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(120,170,255,.7),transparent)}
.pcard:hover{border-color:var(--line-strong); transform:translateY(-3px); box-shadow:0 22px 50px -26px rgba(0,0,0,.75),var(--inner-edge)}
.pcard.is-hot,.pcard.is-target{border-color:var(--accent-dim); box-shadow:0 0 0 1px rgba(76,141,255,.45),0 20px 50px -22px rgba(76,141,255,.35),var(--inner-edge)}
/* picked on the orbit or opened by a link: a ring of light (beats the entrance animation's specificity) */
.pcard.is-flash{border-color:var(--accent-dim)}
.pgrid .pcard.is-flash,.js .pgrid.reveal.in .pcard.is-flash{animation:pcFlash 1.9s ease-out}
.pc-side{display:flex; flex-direction:column; gap:14px; min-width:0}
.pc-head{display:flex; align-items:center; gap:14px; min-width:0}
.pc-title{min-width:0}
.pc-name{font-size:17px; font-weight:700; letter-spacing:-.015em; line-height:1.25; overflow-wrap:anywhere}
.pc-verified{display:inline-flex; align-items:center; gap:6px; margin-top:5px; font-size:12px; font-weight:600; color:#8fb6ff}
.pc-verified .ico{width:15px; height:15px; color:var(--accent)}
.pc-status{display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; min-width:0}
.pc-chip{display:inline-flex; align-items:center; gap:7px; max-width:100%; padding:4px 10px; border-radius:var(--r-sm); font-size:11.5px; font-weight:600; line-height:1.35}
.pc-chip.on{color:#c4f2dc; background:rgba(47,158,109,.12); border:1px solid rgba(63,207,142,.32); white-space:nowrap}
.pc-chip.off{align-items:flex-start; color:var(--text-dim); background:var(--surface-2); border:1px solid var(--line-strong)}
.pc-chip.off .pc-led{margin-top:5px}
.pc-led{flex:none; width:7px; height:7px; border-radius:50%; background:var(--ok); box-shadow:0 0 7px rgba(63,207,142,.55)}
.pc-chip.off .pc-led{background:var(--text-faint); box-shadow:none}
.pc-hours{display:inline-flex; align-items:center; gap:6px; min-width:0; font-size:12.5px; color:var(--text-dim); overflow-wrap:anywhere}
.pc-hours .ico{width:14px; height:14px; color:var(--text-muted)}
/* the channels: one column that can never grow past the card — a long email ellipsizes inside it */
.pc-ch{list-style:none; margin:2px 0 0; padding:14px 0 0; border-top:1px solid var(--line-soft); display:grid; grid-template-columns:minmax(0,1fr); gap:8px; min-width:0}
.pc-ch > li{min-width:0}
.pc-row{display:flex; align-items:center; gap:12px; min-width:0; min-height:48px; padding:6px 12px 6px 6px; border-radius:var(--r-md); border:1px solid var(--line-soft); background:var(--bg);
  transition:border-color .18s,background-color .18s}
.pc-row:hover{border-color:var(--accent-dim); background-color:rgba(76,141,255,.06)}
.pc-row:focus-visible{outline:2px solid var(--accent); outline-offset:2px}
.pc-row .ico.ch{width:34px; height:34px; padding:8px; border-radius:var(--r-md); background:var(--surface-2); border:1px solid var(--line-strong); color:var(--accent)}
.pc-row[data-k="whatsapp"] .ico.ch{color:#4fd18b}
.pc-txt{display:flex; flex-direction:column; flex:1; min-width:0; line-height:1.25}
.pc-txt small{font-size:10px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:#8a96a8}
/* the value: up to two lines (it breaks where it reads well — partners.js breakable), then an ellipsis; never wider than the card */
.pc-txt b{display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; line-clamp:2; min-width:0; overflow:hidden; overflow-wrap:anywhere;
  font-size:13.5px; font-weight:500; line-height:1.3; color:var(--text)}
/* an email / address breaks only BETWEEN its parts (partners.js breakable) — a part wraps inside itself only when it alone
   is wider than the line */
.pc-seg{display:inline-block; max-width:100%; overflow-wrap:anywhere}
/* a number stays on ONE line — never "+971 4 555 / 0101"; a very long one ends in an ellipsis inside the card */
.pc-row[data-k="whatsapp"] .pc-txt b,.pc-row[data-k="phone"] .pc-txt b{display:block; white-space:nowrap; text-overflow:ellipsis;
  font-family:var(--mono); font-size:12.5px; font-feature-settings:"tnum" 1}
.pc-row .ico.go{width:14px; height:14px; color:var(--text-faint); transition:color .18s,transform .18s}
.pc-row:hover .ico.go{color:var(--accent); transform:translate(2px,-2px)}
.pc-none{font-size:13px; color:var(--text-muted)}
.pc-none a{color:var(--accent)}
/* a card opened by a link (/partners#p-…): the owner's line — reach them only on what this page shows */
.pc-target{display:flex; align-items:flex-start; gap:9px; padding:9px 11px; border-radius:var(--r-sm); border:1px solid rgba(76,141,255,.4);
  background:rgba(76,141,255,.08); font-size:12.5px; font-weight:600; line-height:1.4; color:#d4e3ff}
.pc-target .ico{width:16px; height:16px; margin-top:1px; color:var(--accent)}
/* a link to a partner who is NOT listed (partners.js unlisted): the warning, in the site's amber */
.dir-unlisted{display:flex; align-items:flex-start; gap:12px; margin:6px 0 22px; padding:14px 16px; border-radius:var(--r-md);
  border:1px solid rgba(216,166,58,.5); background:rgba(216,166,58,.08); color:var(--text); scroll-margin-top:calc(var(--nav-h) + 24px)}
.dir-unlisted .ico{width:20px; height:20px; margin-top:1px; color:var(--weak-marginal)}
.dir-unlisted-t{min-width:0}
.dir-unlisted b{display:block; font-size:14.5px; font-weight:650; line-height:1.4}
.dir-unlisted p{margin:4px 0 0; font-size:13.5px; color:var(--text-dim)}
.dir-unlisted a{color:var(--text); text-decoration:underline; text-decoration-color:var(--weak-marginal); text-underline-offset:3px}
.dir-unlisted a:focus-visible{outline:2px solid var(--accent); outline-offset:3px; border-radius:var(--r-sm)}

/* ONE partner: a featured card, details left, channels right */
.pgrid.is-solo .pcard{flex:0 1 860px; max-width:860px; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:18px 28px; align-items:start; padding:28px}
.pgrid.is-solo .pc-target{grid-column:1 / -1}
.pgrid.is-solo .pc-side{gap:16px}
.pgrid.is-solo .plate{--ps:76px}
.pgrid.is-solo .pc-name{font-size:24px}
.pgrid.is-solo .pc-ch{margin:0; padding:0; border-top:0}

.avp-foot{display:flex; flex-direction:column; align-items:center; gap:18px; margin-top:34px}
.avp-all{min-height:44px; max-width:100%}
.avp .btn:focus-visible,#av-directory .btn:focus-visible,.avp-note a:focus-visible,.dir-note a:focus-visible,.pc-none a:focus-visible{outline:2px solid var(--accent); outline-offset:3px; border-radius:var(--r-sm)}
.avp-all .t-narrow{display:none}
.avp-note,.dir-note{display:flex; align-items:flex-start; gap:10px; max-width:44em; font-size:13.5px; color:var(--text-muted); text-align:left}
.avp-note .ico,.dir-note .ico{width:18px; height:18px; margin-top:1px; color:var(--accent)}
.avp-note a,.dir-note a{color:var(--text); text-decoration:underline; text-decoration-color:var(--accent-dim); text-underline-offset:3px}
.avp-note a:hover,.dir-note a:hover{text-decoration-color:var(--accent)}

/* ===========================================================================
   DIRECTORY PAGE (/partners, main#av-directory)
   =========================================================================== */
.dir-hero{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,520px); gap:44px; align-items:center; padding:52px 24px 26px}
.dir-hero.is-plain{grid-template-columns:minmax(0,1fr)}
.dir-copy h1{font-size:clamp(32px,4.4vw,50px); font-weight:800; margin-top:20px}
.dir-copy .lede{margin-top:18px}
.dir-stats{display:flex; flex-wrap:wrap; gap:12px; margin-top:26px}
.dir-stats:empty{display:none}
.dir-stat{min-width:150px; padding:12px 16px; border:1px solid var(--line); border-radius:var(--r-md); background:var(--surface); box-shadow:var(--inner-edge)}
.dir-stat b{display:flex; align-items:center; gap:9px; font-family:var(--mono); font-feature-settings:"tnum" 1; font-size:24px; font-weight:700; line-height:1.2}
.dir-stat span{font-size:12px; color:var(--text-muted)}
.dir-stat .lg-led{width:8px; height:8px}
.dir-note{margin-top:20px; padding:13px 15px; border:1px solid var(--line); border-radius:var(--r-md); background:rgba(76,141,255,.05)}
.dir-visual{min-width:0}
/* the hero's two columns: the picture sits mid-page, and one partner moves the eye toward its left edge — let the eye's
   glow fade out instead of ending on a hard line (only here: on a phone the orb spans the screen) */
@media (min-width:961px){ .dir-visual .orb{overflow-clip-margin:72px} }

.dir-list{padding:8px 24px 30px}
.dir-bar{position:sticky; top:var(--nav-h); z-index:30; display:flex; flex-wrap:wrap; align-items:center; gap:10px 12px; margin:6px 0 22px; padding:10px;
  border:1px solid var(--line); border-radius:var(--r-lg); background:rgba(17,21,29,.92); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); box-shadow:0 12px 30px -18px rgba(0,0,0,.8)}
.dir-search{position:relative; flex:1 1 240px; min-width:0}
.dir-search .ico{position:absolute; left:13px; top:50%; width:17px; height:17px; transform:translateY(-50%); color:var(--text-muted); pointer-events:none}
.dir-search input{width:100%; height:44px; padding:0 40px 0 40px; border-radius:var(--r-md); border:1px solid var(--line-strong); background:var(--bg); color:var(--text); font:inherit; font-size:14.5px; transition:border-color .15s,box-shadow .15s}
.dir-search input::placeholder{color:var(--text-faint)}
.dir-search input:focus{outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(76,141,255,.18)}
.dir-key{position:absolute; right:10px; top:50%; transform:translateY(-50%); padding:1px 7px; border-radius:var(--r-sm); border:1px solid var(--line-strong); font-family:var(--mono); font-size:11px; color:var(--text-muted); pointer-events:none}
.dir-search input:focus ~ .dir-key{display:none}
/* the filters wrap — never a clipped row that hides some of them */
.dir-chips{display:flex; flex-wrap:wrap; gap:6px; min-width:0; padding:2px}
.dchip{flex:none; display:inline-flex; align-items:center; gap:7px; height:42px; padding:0 14px; border-radius:var(--r-md); border:1px solid var(--line-strong);
  background:var(--surface-2); color:var(--text-dim); font:inherit; font-size:13px; font-weight:600; cursor:pointer; transition:color .15s,border-color .15s,background .15s}
.dchip:hover{color:var(--text); border-color:var(--text-muted)}
.dchip:focus-visible{outline:2px solid var(--accent); outline-offset:2px}
.dchip[aria-pressed="true"]{color:#fff; background:linear-gradient(180deg,var(--accent),var(--accent-dim)); border-color:var(--accent-dim)}
.dchip .ico{width:15px; height:15px}
.dchip .lg-led{width:7px; height:7px}
.dchip-n{font-family:var(--mono); font-size:11.5px; font-weight:600; color:var(--text-muted); font-feature-settings:"tnum" 1}
.dchip[aria-pressed="true"] .dchip-n{color:#dbe7ff}
.dchip-sep{flex:none; width:1px; margin:8px 4px; background:var(--line-strong)}
.dir-count{margin-left:auto; padding:0 6px; font-family:var(--mono); font-size:12px; color:var(--text-muted); white-space:nowrap}
.pgrid--dir .pcard{scroll-margin-top:calc(var(--nav-h) + 96px)}
.dir-none,.dir-empty,.dir-state{display:flex; flex-direction:column; align-items:center; gap:14px; padding:46px 24px; text-align:center; border:1px dashed var(--line-strong); border-radius:var(--r-lg); color:var(--text-dim)}
.dir-state{border-style:solid; border-color:var(--line); background:var(--surface)}
/* no script: nothing is loading — only the <noscript> line shows */
html:not(.js) [data-dir-loading]{display:none}
.dir-empty h2,.dir-state h2{font-size:22px; font-weight:750; color:var(--text)}
.dir-empty p,.dir-state p{max-width:36em}
.dir-state a:not(.btn),.dir-empty a:not(.btn){color:var(--text); text-decoration:underline; text-decoration-color:var(--accent-dim); text-underline-offset:3px}
.dir-state a:not(.btn):focus-visible,.dir-empty a:not(.btn):focus-visible{outline:2px solid var(--accent); outline-offset:3px; border-radius:var(--r-sm)}

/* ===========================================================================
   MOTION — entrances happen once and only when motion is welcome; nothing is ever hidden without it
   =========================================================================== */
@media (prefers-reduced-motion:no-preference){
  /* makers: on first sight the supported die drops into its socket, the lever closes, its pins light */
  .js .mk-row:not(.in):not(.is-settled) .mk--available .mk-die{transform:translateY(-12px)}
  .js .mk-row:not(.in):not(.is-settled) .mk--available .mk-pins-lit{opacity:0}
  .js .mk-row:not(.in):not(.is-settled) .mk--available .mk-lever{transform:rotate(-15deg)}
  .js .mk-row.in:not(.is-settled) .mk--available .mk-die{animation:avSeat .75s cubic-bezier(.3,.9,.3,1.25) .2s both}

  .js .orb:not(.in) .orb-node{transform:translate(var(--cx,0px),var(--cy,0px)) scale(.25); opacity:0}
  .js .orb:not(.in) .orb-core{transform:translate(var(--cx,0px),var(--cy,0px)) scale(.7); opacity:0}
  .orb-core{transition:transform .8s cubic-bezier(.2,.8,.2,1),opacity .6s ease}
  .orb-link.is-open .orb-ln{stroke-dasharray:1; transition:stroke-dashoffset .8s cubic-bezier(.3,.7,.2,1) var(--td,0ms),opacity .3s,stroke-width .3s}
  .js .orb:not(.in) .orb-link.is-open .orb-ln{stroke-dashoffset:1}
  .orb-link.is-closed .orb-ln,.orb-link.is-more .orb-ln{transition:opacity .6s ease var(--td,0ms)}
  .js .orb:not(.in) .orb-link.is-closed .orb-ln,.js .orb:not(.in) .orb-link.is-more .orb-ln{opacity:0}
  .orb-pulse{transition:opacity .5s ease .9s}
  .js .orb:not(.in) .orb-pulse,.js .orb:not(.in) .orb-seal{opacity:0}
  .orb-seal{transition:opacity .6s ease 1s}
  .js .pgrid.reveal:not(.in) .pcard{opacity:0}
  .js .pgrid.reveal.in .pcard{animation:pcIn .6s cubic-bezier(.2,.8,.2,1) backwards; animation-delay:calc(var(--i,0) * 55ms)}
  .pgrid.filtered .pcard:not(.is-flash){animation:none !important}
}
@keyframes avSeat{0%{transform:translateY(-12px)} 70%{transform:translateY(1.5px)} 100%{transform:none}}
@keyframes orbPulse{from{stroke-dashoffset:7} to{stroke-dashoffset:-93}}
@keyframes orbRecv{0%{opacity:.9} 14%,100%{opacity:0}}
@keyframes pcIn{from{opacity:0; transform:translateY(16px)}}
@keyframes pcFlash{0%{box-shadow:0 0 0 2px rgba(120,170,255,.95),0 0 46px rgba(76,141,255,.5)} 100%{box-shadow:0 0 0 1px rgba(76,141,255,.45),0 20px 50px -22px rgba(76,141,255,.35)}}

@media (prefers-reduced-motion:reduce){
  .orb-float::after,.orb-pulse,.pcard.is-flash,.pgrid .pcard.is-flash{animation:none !important}
  .orb-pulse,.orb-float::after{display:none}
  .orb-node,.orb-core,.orb-plate,.pcard,.orb-ln,.mk,.mk-die,.mk-lever,.mk-pins-lit{transition:none}
  .pcard:hover,.orb-node:hover .orb-plate,.orb-node.hot .orb-plate,.mk:hover{transform:none}
}

/* ===========================================================================
   RESPONSIVE
   =========================================================================== */
@media (max-width:960px){
  .mk-row{gap:14px}
  .mk{padding:14px 14px 18px}
  .pgrid--home .pcard{flex-basis:calc((100% - 18px) / 2)}
  .dir-hero{grid-template-columns:minmax(0,1fr); gap:30px; padding-top:40px}
  .dir-visual{max-width:520px; width:100%; margin:0 auto}
}
@media (max-width:760px){
  /* stacked: the rows and their divider fill the card's width (the side-by-side layout's align-items:start would
     shrink them to their text) */
  .pgrid.is-solo .pcard{display:flex; align-items:stretch; padding:22px}
  .pgrid.is-solo .pc-ch{padding-top:14px; border-top:1px solid var(--line-soft)}
  .pgrid.is-solo .pc-name{font-size:20px}
  .pgrid.is-solo .plate{--ps:64px}
}
@media (max-width:640px){
  .mk-row{grid-template-columns:minmax(0,1fr); gap:12px}
  .mk{flex-direction:row; align-items:center; gap:14px; padding:12px 14px 12px 12px}
  .mk-socket{flex:none; width:124px}
  .mk-sub{display:none}
  .mk-word{font-size:13cqw}
  .mk-info{padding:0; gap:6px}
  .mk-name h3{font-size:16px}
  .mk-name h3 small{font-size:12px}
  .mk-blurb{font-size:13px; line-height:1.45}
  .mk-go{font-size:12.5px}
  .mk-lever{bottom:-2px; height:3px}

  .orb-seal{padding:3px 8px 3px 6px; font-size:9.5px; letter-spacing:.1em}
  .orb-seal .ico{width:12px; height:12px}
  .is-solo .orb-label{font-size:14.5px}
  .avp-dir-head{margin-top:40px; flex-direction:column; align-items:flex-start; gap:4px}
  .avp-count{text-align:left}
  .pgrid--home .pcard,.pgrid--home.is-few .pcard{flex-basis:100%}
  /* on a phone the home page shows four; the directory has the rest */
  .pgrid--home .pcard:nth-child(n+5){display:none}
  .avp-all .t-wide{display:none} .avp-all .t-narrow{display:inline}
  .avp-all{width:100%}
  .dir-bar{position:static}
  .dir-search{flex-basis:100%}
  .dir-key{display:none}
  .dir-chips{flex:1 1 100%}
  .dchip-sep{display:none}   /* the chips wrap here; a divider would dangle at a row's end */
  .dir-count{margin-left:0}
  .dir-stat{min-width:0; flex:1 1 0}
  .pgrid--dir .pcard{scroll-margin-top:calc(var(--nav-h) + 20px)}
}
