/* Upstate NY talent article: logo, name, thick founders bar; hover writes the startups inside the bar. Rest from upstate-airspace.css. */
.tl-degrees{display:inline-flex;margin:0 0 14px;flex-wrap:wrap}
.rank[hidden]{display:none}
.cx-island .rank{gap:0}
.tl-row{grid-template-columns:250px minmax(0,1fr);padding:2px 0;cursor:default;outline:0}
.tl-row .as-rank-name{display:flex;align-items:center;gap:10px;min-width:0}
.tl-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tl-logo{flex:0 0 22px;width:22px;height:22px;border-radius:5px;object-fit:contain;background:var(--logo-tile-bg);border:1px solid var(--logo-tile-border)}
.tl-logo-txt{display:inline-grid;place-items:center;font-size:9px;font-weight:700;color:var(--mv-text-muted)}
.tl-row .hbar-fill{height:42px;display:flex;align-items:center;min-width:0;overflow:hidden}
.tl-in{display:block;min-width:0;padding:0 12px;font-size:14px;font-weight:500;line-height:42px;color:var(--text-on-inverse);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:0;transition:opacity .15s}
.tl-row:hover .tl-in,.tl-row:focus-visible .tl-in,.tl-row.is-open .tl-in{opacity:.82}
.tl-row:focus-visible .tl-name{color:var(--mv-blue)}
/* VC-backed employers timeline */
.tlm-scroll{overflow-x:auto;margin:0 -4px;padding:0 4px}
.tlm{min-width:620px}
.tlm-axis,.tlm-row{display:grid;grid-template-columns:230px minmax(0,1fr);align-items:center}
.tlm-axis{position:relative;height:22px;margin-left:230px;display:block;font-size:12px;font-weight:600;color:var(--mv-text-muted)}
.tlm-axis span{position:absolute;top:0;transform:translateX(-50%)}
.tlm-rows{position:relative}
.tlm-grid{position:absolute;inset:0 0 0 230px;pointer-events:none}
.tlm-grid span{position:absolute;top:0;bottom:0;border-left:1px solid var(--mv-grid)}
.tlm-row{height:34px;position:relative}
.tlm-co{display:flex;align-items:center;gap:8px;min-width:0;font-size:14px;font-weight:650;padding-right:10px}
.tlm-co small{margin-left:auto;font-size:12px;font-weight:500;color:var(--mv-text-muted)}
.tlm-track{position:relative;height:100%}
.tlm-line{position:absolute;right:0;top:50%;height:2px;margin-top:-1px;background:var(--c);opacity:.55}
.tlm-start{position:absolute;top:50%;width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border-radius:50%;background:var(--c)}
.tlm-dot{position:absolute;top:50%;z-index:1;display:flex;align-items:center;transform:translate(-11px,-50%);outline:0}
.tlm-dot>img,.tlm-dot>i{width:22px;height:22px;border-radius:50%;object-fit:contain;background:var(--logo-tile-bg);border:2px solid var(--c);flex:0 0 22px}
.tlm-dot>i{display:inline-grid;place-items:center;font-size:8px;font-style:normal;font-weight:700;color:var(--mv-text-muted)}
.tlm-lab{margin-left:5px;font-size:12px;font-weight:600;white-space:nowrap;color:var(--mv-text-sec)}
.tlm-link{position:absolute;left:10px;top:11px;width:2px;height:calc(var(--span) * 34px);background:var(--c)}
@media(max-width:560px){.tl-row{grid-template-columns:132px minmax(0,1fr);gap:8px}.tl-row .as-rank-name{gap:6px;font-size:13px}.tl-row .hbar-fill{height:36px}.tl-in{line-height:36px;font-size:12px;padding:0 8px}}
/* Late dots put their name on the left, so it does not run off the right edge. */
.tlm-dot.is-left{flex-direction:row-reverse;transform:translate(calc(-100% + 11px),-50%)}
.tlm-dot.is-left .tlm-lab{margin:0 5px 0 0}
.tlm-dot:hover,.tlm-dot:focus-visible{z-index:2}
.tlm-dot.no-lab .tlm-lab{display:none}
/* Phones: the whole axis fits; names show on tap, the logos carry the row. */
@media(max-width:560px){.tlm{min-width:0}.tlm-axis,.tlm-row{grid-template-columns:112px minmax(0,1fr)}.tlm-axis{margin-left:112px;font-size:10px}.tlm-grid{left:112px}.tlm-co{font-size:12px;gap:5px;padding-right:6px}.tlm-co small{display:none}.tlm-co .tl-logo{flex-basis:18px;width:18px;height:18px}.tlm-row{height:28px}.tlm-link{height:calc(var(--span) * 28px)}.tlm-dot{transform:translate(-9px,-50%)}.tlm-dot>img,.tlm-dot>i{width:18px;height:18px;flex-basis:18px}.tlm-lab{display:none}.tlm-dot:focus .tlm-lab{display:block;position:absolute;right:22px;padding:1px 5px;border-radius:4px;background:var(--surface-card);box-shadow:var(--shadow-sm)}}
/* Top founders: one row per company, its founders' photos and names beside it. */
/* Founder map: a card per sector / school / field, top founders as faces. */
.fm-modes{margin:4px 0 14px}
.fm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.fm-grid[hidden]{display:none}
.fm-card{border:1px solid var(--mv-grid);border-radius:10px;padding:10px 12px 10px;background:var(--surface-card);min-width:0}
.fm-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.fm-title{font-weight:700;font-size:14px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fm-count{flex:none;min-width:28px;padding:1px 7px;border-radius:999px;background:var(--mv-blue);color:var(--text-on-inverse);font-size:11.5px;font-weight:700;text-align:center}
.fm-stats{font-size:12px;color:var(--mv-text-sec);margin:1px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-faces{display:flex;flex-wrap:wrap;gap:6px}
.fm-face{position:relative;flex:none;width:40px;height:40px;border-radius:50%;outline:0;cursor:default;transition:transform .12s,opacity .12s}
.fm-photo{display:block;width:40px;height:40px;border-radius:50%;object-fit:cover;background:var(--logo-tile-bg);border:1px solid var(--logo-tile-border)}
.fm-photo-txt{display:grid;place-items:center;background:var(--mv-grid);font-size:12.5px;font-weight:700;color:var(--mv-text-muted)}
.fm-badge{position:absolute;right:-3px;bottom:-3px;width:18px;height:18px;border-radius:5px;object-fit:contain;background:var(--logo-tile-bg);border:1px solid var(--logo-tile-border)}
.fm-more{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;border:1px dashed var(--mv-grid);font-size:11.5px;font-weight:700;color:var(--mv-text-sec)}
/* Hover state: the face under the pointer grows and gets a ring, the others in its card fade. */
.fm-faces:hover .fm-face,.fm-faces:focus-within .fm-face{opacity:.4}
.fm-faces .fm-face:hover,.fm-faces .fm-face:focus-visible,.fm-faces .fm-face.is-on{opacity:1;transform:scale(1.12);z-index:1}
.fm-face:hover .fm-photo,.fm-face:focus-visible .fm-photo,.fm-face.is-on .fm-photo{box-shadow:0 0 0 2px var(--mv-blue)}
#founder-map{position:relative}
.fm-tip{position:absolute;z-index:5;max-width:240px;padding:8px 11px;border-radius:8px;background:var(--surface-card);border:1px solid var(--mv-border);box-shadow:var(--shadow-md);pointer-events:none;font-size:12.5px;line-height:1.35}
.fm-tip[hidden]{display:none}
.fm-tip b{display:block;font-size:13.5px;font-weight:700}
.fm-tip span{display:block;color:var(--mv-text-sec)}
.fm-tip small{display:block;font-size:11.5px;color:var(--mv-text-muted)}
@media(max-width:900px){.fm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.fm-grid{grid-template-columns:minmax(0,1fr)}}
/* Four rankings in one card, two by two. Thinner rows than a full-width ranking. */
.quad{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 36px;align-items:start}
.quad-panel{min-width:0}
.quad-panel h3{font-size:17px;font-weight:700;line-height:1.25;margin:0 0 4px;text-wrap:balance}
.quad-sub{font-size:12.5px;line-height:1.4;color:var(--mv-text-muted);margin:0 0 10px}
.quad .tl-row{grid-template-columns:172px minmax(0,1fr);gap:10px;padding:2px 0}
.quad .tl-row .as-rank-name{font-size:13.5px;gap:8px}
.quad .tl-row .hbar-fill{height:26px}
.quad .tl-in{line-height:26px;font-size:12px;padding:0 8px}
.quad .hbar-val{font-size:13px}
.quad .tl-logo{flex-basis:20px;width:20px;height:20px}
@media(max-width:820px){.quad{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){.quad .tl-row{grid-template-columns:128px minmax(0,1fr)}}
/* Founder network: universities, founders and companies at baked positions.
   1em = one layout unit, so the drawing scales with the box like an image. */
.nw{position:relative;container-type:inline-size;aspect-ratio:var(--ar,1000/660);margin:8px 0 4px}
.nv-controls{display:flex;flex-wrap:wrap;gap:8px 14px;margin:0 0 12px}
.nv-controls .toggle{display:inline-flex}
.nv[hidden]{display:none}
.nw-edges{position:absolute;inset:0;width:100%;height:100%}
.nw-edges line{stroke:var(--mv-text-muted);stroke-width:1.2;opacity:.45;vector-effect:non-scaling-stroke;transition:opacity .15s}
.nw-edges line.is-school{stroke:var(--mv-blue);opacity:.5}
.nw-m{display:none}
.nw-node{--u:calc(100cqw / 1000);--sz:var(--s);position:absolute;left:var(--x);top:var(--y);display:flex;flex-direction:column;align-items:center;transform:translate(-50%,calc(var(--sz) * var(--u) / -2));color:inherit;text-decoration:none;outline:0;transition:opacity .15s;z-index:1}
.nw-icon{width:calc(var(--sz) * var(--u));height:calc(var(--sz) * var(--u));border-radius:50%;object-fit:cover;background:var(--logo-tile-bg);border:1px solid var(--logo-tile-border);box-sizing:border-box}
.nw-txt{display:grid;place-items:center;background:var(--mv-grid);font-size:calc(13 * var(--u));font-weight:700;color:var(--mv-text-muted)}
.nw-company .nw-icon{border-radius:calc(8 * var(--u));object-fit:contain;padding:calc(3 * var(--u))}
.nw-school .nw-icon{object-fit:contain;padding:calc(4 * var(--u));border:calc(2.5 * var(--u)) solid var(--mv-blue)}
.nw-lab{margin-top:calc(3 * var(--u));font-size:calc(12.5 * var(--u));font-weight:600;line-height:1.2;white-space:nowrap;text-align:center;color:var(--mv-text-sec)}
.nw-company .nw-lab{font-weight:700;color:var(--mv-text)}
.nw-school .nw-lab{font-weight:700;color:var(--mv-blue)}
a.nw-node:hover .nw-lab{text-decoration:underline}
/* Hover or tap a node: its links and neighbours stay, the rest fades. */
.nw.is-focus .nw-node:not(.on){opacity:.18}
.nw.is-focus .nw-edges line:not(.on){opacity:.06}
.nw.is-focus .nw-edges line.on{opacity:.9}
.nw-key{display:flex;gap:18px;font-size:12.5px;color:var(--mv-text-sec);margin:0 0 6px}
.nw-key span{display:inline-flex;align-items:center;gap:6px}
.nw-key i{width:12px;height:12px;border-radius:50%;border:1px solid var(--logo-tile-border);background:var(--logo-tile-bg)}
.nw-key .k-school{border:2px solid var(--mv-blue)}
.nw-key .k-company{border-radius:3px}
@media(max-width:640px){
  .nw{aspect-ratio:var(--mar,360/980)}
  .nw-d{display:none}.nw-m{display:block}
  .nw-node{--u:calc(100cqw / 360);left:var(--mx);top:var(--my);--sz:var(--ms)}
  .nw-lab{font-size:calc(10 * var(--u))}
  .nw-txt{font-size:calc(10 * var(--u))}
}
/* Ranking with one highlighted row (world universities, US metros): the highlight in blue, the rest pale. */
.rank.has-hi .tl-row .hbar-fill{background:var(--chart-sky)}
.rank.has-hi .tl-row .tl-in{color:var(--chart-navy)}
.rank.has-hi .tl-row.is-hi .hbar-fill{background:var(--mv-blue)}
.rank.has-hi .tl-row.is-hi .tl-in{color:var(--text-on-inverse)}
.rank.has-hi .tl-row.is-hi .tl-name,.rank.has-hi .tl-row.is-hi .hbar-val{color:var(--mv-blue)}
