/* landing-sources r3 (11-07): "where the jobs come from" = a network of sources flowing into Joni.
   Own file: v8.css / english.css stay byte-identical to live. Motion = canvas particles (sources.js) + transform/opacity only. */
.sources{position:relative;overflow:hidden;background:radial-gradient(ellipse 60% 50% at 50% 58%,#79dfcc1c,transparent 70%),radial-gradient(ellipse 70% 40% at 50% 0%,#79dfcc14,transparent 70%),var(--ink);color:var(--paper);padding:96px 28px 84px;border-top:1px solid var(--line-dark)}
.sources-inner{max-width:1180px;margin:auto}
.sources-head{text-align:center;max-width:1000px;margin:0 auto}
.sources-head .eyebrow{font-size:15px;font-weight:600;letter-spacing:.2px;margin:0 0 14px}
.sources-head h2{font-size:clamp(34px,4.8vw,66px);line-height:1.08;letter-spacing:-.025em;font-weight:800;margin:0 0 20px}
.sources-lead{font-size:18px;line-height:1.75;color:var(--g-300);max-width:660px;margin:0 auto}
.sources-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:48px auto 0;max-width:900px;padding:0;border-block:1px solid #ffffff1a}
.sources-stats>div{padding:26px 12px 24px;display:flex;flex-direction:column-reverse;align-items:center;gap:4px;text-align:center}
.sources-stats>div+div{border-inline-start:1px solid #ffffff1a}
.sources-stats dd{margin:0;font-size:clamp(34px,5vw,68px);line-height:1;font-weight:700;letter-spacing:-1.5px;color:var(--white);font-variant-numeric:tabular-nums}
.sources-stats dt{font-size:15px;color:var(--g-300);line-height:1.4}
.src-n b{color:var(--brand);font-weight:inherit}

/* ---------- the network (desktop: groups + named leaves + faint "more sources" field) ---------- */
.net{position:relative;width:100%;aspect-ratio:1180/720;margin:56px auto 0;isolation:isolate;container-type:inline-size}
.net-wires,.net-flow{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.net-wires{z-index:1;overflow:visible}.net-flow{z-index:2}
.net-wires.wm{display:none}
.net-wires line,.net-wires circle{vector-effect:non-scaling-stroke;fill:none}
.net-wires .ring{stroke:#79dfcc1f;stroke-width:1;stroke-dasharray:2 7}
.net-wires .wa{stroke:#79dfcc0f;stroke-width:1}
.net-wires .ad{fill:#79dfcc59;stroke:none}
.net-wires .web{stroke:#79dfcc24;stroke-width:1;stroke-dasharray:3 6}
.net-wires .spoke{stroke:#79dfcc4d;stroke-width:1.5;transition:stroke .3s,stroke-width .3s}
.net-wires .twig{stroke:#79dfcc2e;stroke-width:1;transition:stroke .3s}
.sources[data-active=boards] .wg[data-k=boards] line,.sources[data-active=ats] .wg[data-k=ats] line,.sources[data-active=careers] .wg[data-k=careers] line,
.sources[data-active=agencies] .wg[data-k=agencies] line,.sources[data-active=gov] .wg[data-k=gov] line,.sources[data-active=olim] .wg[data-k=olim] line{stroke:var(--brand)}
.sources[data-active=boards] .wg[data-k=boards] .spoke,.sources[data-active=ats] .wg[data-k=ats] .spoke,.sources[data-active=careers] .wg[data-k=careers] .spoke,
.sources[data-active=agencies] .wg[data-k=agencies] .spoke,.sources[data-active=gov] .wg[data-k=gov] .spoke,.sources[data-active=olim] .wg[data-k=olim] .spoke{stroke-width:2.5}

/* nodes are positioned in % of the network box so they scale with it (no layout shift) */
.net-leaf,.net-hub,.net-node{position:absolute;left:calc(var(--x) * 1%);top:calc(var(--y) * 1%)}
.net-leaves{position:absolute;inset:0;z-index:3}
.net-leaf{transform:translate(-50%,-50%);white-space:nowrap;font-size:min(14px,1.19cqw);font-weight:600;line-height:1;padding:.58em .93em;border-radius:999px;background:#1b2023;border:1px solid #ffffff1f;color:#dfe5e8;cursor:pointer;opacity:.62;transition:opacity .3s,border-color .3s,color .3s,background .3s}
.net-leaf:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--brand);margin-inline-end:8px;vertical-align:2px;opacity:.7}
.sources[data-active=boards] .net-leaf[data-k=boards],.sources[data-active=ats] .net-leaf[data-k=ats],.sources[data-active=careers] .net-leaf[data-k=careers],
.sources[data-active=agencies] .net-leaf[data-k=agencies],.sources[data-active=gov] .net-leaf[data-k=gov],.sources[data-active=olim] .net-leaf[data-k=olim]{opacity:1;border-color:#79dfcc99;color:var(--white);background:#1f2a2a}

.net-hub{z-index:4;margin:0;width:0;height:0}
.hub-face{position:absolute;left:0;top:0;width:150px;height:150px;transform:translate(-50%,-50%);border-radius:50%;background:#d6f8fb;display:grid;place-items:center;overflow:hidden;box-shadow:0 0 0 10px #79dfcc1f,0 0 0 22px #79dfcc0d,0 24px 80px #79dfcc4d}
.hub-face img{width:128px;height:auto;margin-top:22px}
.hub-glow{position:absolute;left:0;top:0;width:320px;height:320px;margin:-160px 0 0 -160px;border-radius:50%;background:radial-gradient(circle,#79dfcc66 0%,#79dfcc1f 38%,transparent 68%);opacity:.4;will-change:transform,opacity;pointer-events:none}
.net-hub figcaption{position:absolute;top:96px;left:0;transform:translateX(-50%);font-size:14px;font-weight:700;color:var(--paper);background:#151719f2;border:1px solid #79dfcc66;border-radius:999px;padding:6px 15px;white-space:nowrap}

.net-nodes{position:absolute;inset:0;z-index:5;pointer-events:none}
.net-node{--disc:min(68px,5.76cqw);pointer-events:auto;transform:translate(-50%,calc(var(--disc) / -2));display:flex;flex-direction:column;align-items:center;gap:9px;padding:0;margin:0;background:none;border:0;color:var(--paper);font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.node-disc{position:relative;width:var(--disc);height:var(--disc);border-radius:50%;display:grid;place-items:center;background:#1d2427;border:1.5px solid #79dfcc66;color:var(--brand);box-shadow:0 0 0 7px #151719,0 14px 34px #0008;transition:transform .35s cubic-bezier(.2,.9,.25,1),background .25s,color .25s,box-shadow .3s}
.node-disc svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.node-label{font-size:min(16px,1.36cqw);font-weight:700;line-height:1.2;white-space:nowrap;padding:5px 12px;border-radius:999px;background:#151719e6;color:var(--white);transition:color .25s,background .25s}
.net-node:hover .node-disc{transform:scale(1.07);border-color:var(--brand)}
.net-node:active .node-disc{transform:scale(.95);transition-duration:.1s}
.net-node[aria-selected=true] .node-disc{background:var(--brand);color:#102320;border-color:#a1eadb;box-shadow:0 0 0 7px #151719,0 0 0 13px #79dfcc33,0 18px 50px #79dfcc59}
.net-node[aria-selected=true] .node-label{background:var(--brand);color:#102320}
.net-node:focus-visible{outline:none}.net-node:focus-visible .node-disc{outline:3px solid var(--white);outline-offset:9px}
.net-hint{text-align:center;margin:8px 0 0;font-size:14px;color:var(--g-400)}

/* ---------- the card for the selected group ---------- */
.sources-panels{display:grid;margin:22px auto 0;max-width:980px}.js .src-card{grid-area:1/1}
.sources-panels{gap:18px}.js .sources-panels{gap:0}
.src-card{background:#fff;color:var(--ink);border-radius:26px;padding:28px 32px 24px;box-shadow:0 0 0 1px #ffffff14,0 34px 80px #0007;display:grid;grid-template-columns:minmax(0,330px) minmax(0,1fr);column-gap:36px;align-items:start}
.src-card[hidden]{display:none}
.src-card:not([hidden]){animation:src-card-in .4s cubic-bezier(.2,.9,.25,1)}
@keyframes src-card-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.src-card:focus-visible{outline:3px solid var(--brand);outline-offset:4px}
.card-head{display:flex;align-items:flex-start;gap:14px;grid-column:1}
.card-head .card-icon{width:52px;height:52px;border-radius:15px;background:var(--ink);color:var(--brand);display:grid;place-items:center;flex-shrink:0}
.card-head .card-icon svg,.src-tile svg,.card-extra svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.card-head .card-icon svg{width:26px;height:26px;stroke-width:1.8}
.card-title{flex:1;min-width:0}
.card-title h3{font-size:26px;line-height:1.15;font-weight:800;letter-spacing:-.4px;margin:2px 0 0}
.card-title p{margin:6px 0 0;font-size:14.5px;color:var(--g-600);line-height:1.5}
.card-extra{grid-column:1;margin:18px 0 0;padding:14px 16px;border-radius:16px;background:var(--ink);color:var(--white);font-size:15.5px;font-weight:600;line-height:1.55;display:flex;gap:10px;align-items:flex-start}
.card-extra svg{width:20px;height:20px;stroke-width:2;color:var(--brand);flex-shrink:0;margin-top:2px}
.card-body{grid-column:2;grid-row:1/span 3;min-width:0}
.card-caption{margin:0 0 6px;font-size:12.5px;font-weight:700;color:var(--brand-deep);letter-spacing:.2px}
.src-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
.src-list li{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #e3e8ea;min-width:0}
.src-tile{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex-shrink:0;background:#151719;color:var(--brand);font:800 15px/1 'Baloo 2',Heebo,Arial,sans-serif;letter-spacing:-.3px;direction:ltr}
.src-tile.w3{font-size:12px;letter-spacing:-.5px}
.src-tile.icon{background:#e4f5f0;color:var(--brand-deep)}
.src-tile svg{width:22px;height:22px;stroke-width:1.7}
.src-name{min-width:0;line-height:1.3}
.src-name b{display:block;font-size:16.5px;font-weight:700}
.src-name small{display:block;font-size:13px;color:var(--g-600);margin-top:1px}
.card-note{margin:14px 0 0;font-size:12px;line-height:1.55;color:var(--g-600)}
.sources-foot{margin:36px auto 0;text-align:center;font-size:13px;line-height:1.6;color:var(--g-400);max-width:820px}

/* ---------- tablet + phone: compact network (six groups around Joni), card underneath ---------- */
@media(max-width:1079px){
.sources{padding:64px 24px 60px}
.net{aspect-ratio:360/440;max-width:460px;margin-top:36px}
.net-wires.wd,.net-leaves,.net-hub figcaption{display:none}
.net-wires.wm{display:block}
.net-hub,.net-node{left:calc(var(--mx) * 1%);top:calc(var(--my) * 1%)}
.hub-face{width:104px;height:104px;box-shadow:0 0 0 7px #79dfcc1f,0 0 0 15px #79dfcc0d,0 16px 50px #79dfcc4d}
.hub-face img{width:90px;margin-top:15px}
.hub-glow{width:230px;height:230px;margin:-115px 0 0 -115px}
.net-node{--disc:52px;gap:6px}
.node-disc{box-shadow:0 0 0 5px #151719,0 10px 24px #0008}
.node-disc svg{width:23px;height:23px}
.net-node[aria-selected=true] .node-disc{box-shadow:0 0 0 5px #151719,0 0 0 10px #79dfcc33,0 12px 34px #79dfcc59}
.node-label{font-size:13.5px;padding:4px 9px}
.net-hint{margin-top:14px}
.sources-panels{max-width:640px;margin-top:16px}
.src-card{display:block;padding:24px 22px 20px}
.card-body{margin-top:16px}
.src-list{grid-template-columns:1fr}
.src-list li:last-child{border-bottom:0}
}
@media(max-width:699px){
.sources{padding:48px 16px 44px}
.sources-head h2{font-size:32px;letter-spacing:-.6px;margin-bottom:14px}
.sources-head .eyebrow{font-size:13px;margin-bottom:10px}
.sources-lead{font-size:15px;line-height:1.7}
.sources-stats{margin-top:28px}
.sources-stats>div{padding:16px 4px 14px}
.sources-stats dd{font-size:28px;letter-spacing:-.6px}
.sources-stats dt{font-size:12px}
.net-hint{font-size:13px}
.src-card{padding:20px 16px 16px;border-radius:20px}
.card-head{gap:12px}
.card-head .card-icon{width:44px;height:44px;border-radius:13px}
.card-title h3{font-size:21px}
.card-title p{font-size:13px}
.card-extra{font-size:14px;padding:12px 14px;margin-top:14px}
.src-list li{padding:10px 0;gap:10px}
.src-tile{width:38px;height:38px;border-radius:11px;font-size:13.5px}
.src-tile.w3{font-size:11px}
.src-tile svg{width:19px;height:19px}
.src-name b{font-size:15px}
.src-name small{font-size:12px}
.card-note{font-size:11.5px}
.sources-foot{font-size:12px;margin-top:26px}
}
@media(max-width:374px){.sources-head h2{font-size:28px}.sources-stats dd{font-size:24px}.node-label{font-size:12.5px;padding:3px 7px}.net-node{--disc:48px}}
@media(prefers-reduced-motion:reduce){
.net-flow{display:none}.hub-glow{opacity:.5!important;transform:none!important}
.node-disc,.node-label,.net-leaf,.net-wires .spoke,.net-wires .twig{transition:none}
.net-node:hover .node-disc,.net-node:active .node-disc{transform:none}
.src-card:not([hidden]){animation:none}
}

/* r6 (11-08): three-pillar bar (replaces the stats strip), no per-source cards, static nodes, "soon" label */
.pillars{display:grid;grid-template-columns:1fr 1.25fr 1fr;align-items:center;max-width:1000px;margin:48px auto 0;padding:0;list-style:none;border-block:1px solid #ffffff1a}
.pl{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:26px 22px 24px;text-align:center;min-width:0;align-self:stretch}
.pl+.pl{border-inline-start:1px solid #ffffff1a}
.pl p{margin:0}
.pl-t{font-size:clamp(18px,1.7vw,22px);line-height:1.3;font-weight:700;color:var(--white);text-wrap:balance}
.pl-s{font-size:15px;line-height:1.5;color:var(--g-300);max-width:30ch;text-wrap:balance}
.pl-jobs{background:radial-gradient(120% 90% at 50% 0%,#79dfcc14,transparent 70%)}
.pl-jobs .pl-t{display:flex;flex-direction:column;align-items:center;gap:2px}
.pl-n{font-size:clamp(44px,5vw,68px);line-height:1;font-weight:800;letter-spacing:-1.5px;color:var(--brand);font-variant-numeric:tabular-nums}
.pl-n b{font-weight:inherit}
.pl-l{font-size:clamp(19px,1.8vw,24px);color:var(--white)}
@media(max-width:699px){.pillars{grid-template-columns:1fr;margin-top:28px}
 .pl{padding:18px 8px}.pl+.pl{border-inline-start:0}
 .pl{border-top:1px solid #ffffff1a}.pl-jobs{order:-1;padding-top:22px;border-top:0}
 .pl-n{font-size:48px}.pl-l{font-size:20px}.pl-t{font-size:18px}.pl-s{font-size:14px}}
.net-node{cursor:default}.net-node:hover .node-disc,.net-node:active .node-disc{transform:none}
.sources:not([data-active]) .net-leaf{opacity:.86;cursor:default}
.net-leaf[data-soon]{overflow:visible}
.net-leaf .soon{position:absolute;top:0;inset-inline-end:.9em;transform:translateY(-62%);padding:.22em .55em;border-radius:999px;font-size:.74em;font-weight:700;line-height:1;color:#102320;background:var(--brand);white-space:nowrap}
