/* Company profile — shared styles
   Source of truth for /companies/{slug}/index.html pages generated from
   companies/data/{slug}.json by scripts/build-companies.mjs. */

:root {
    --navy: #141B2D;
    --navy-light: #1E2A45;
    --navy-lighter: #2A3A5A;
    --blue: #3B82F6;
    --blue-hover: #2563EB;
    --teal: #10B981;
    --purple: #8B5CF6;
    --amber: #F59E0B;
    --orange: #F2A55E;
    --orange-accent: #F7A340;
    --white: #FFFFFF;
    --text-light: rgba(255, 255, 255, 0.7);
    --text-lighter: rgba(255, 255, 255, 0.5);
    --text-faint: rgba(255, 255, 255, 0.35);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-mid: rgba(255, 255, 255, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--navy);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

/* Top nav (matches global Dealroom landing pages) */
nav.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0 2rem;
    background: rgba(20, 27, 45, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}
.nav-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    height: 70px;
}
.logo img { height: 28px; display: block; }
.nav-center { display: flex; gap: 2rem; }
.nav-link { color: var(--text-light); text-decoration: none; font-size: 0.9375rem; font-weight: 500; transition: color 0.15s ease; }
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-right { display: flex; gap: 0.75rem; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.625rem 1.25rem; border-radius: 8px; font-family: inherit; font-size: 0.9375rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: all 0.15s ease; border: 1px solid transparent; white-space: nowrap; }
/* Ghost is the borderless variant site-wide (the nav "Login"); .btn-outline
   below is the bordered one. Profile pages used to paint a border here, which
   is why the same Login button was outlined here and a plain link elsewhere. */
.btn-ghost { background: transparent; color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); } /* theme-guardrail-allow: dark-mode hover scrim, matching .nav-link:hover above; html[data-theme=light] .btn-ghost:hover overrides it in the global theme CSS */
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid var(--border-mid); padding: 0.5rem 0.95rem; font-size: 0.875rem; }
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.35); }
.btn-platform { color: #6EE7B7; border-color: rgba(16,185,129,0.38); background: rgba(16,185,129,0.08); }
.btn-platform:hover { background: rgba(16,185,129,0.14); border-color: rgba(16,185,129,0.58); }
.btn-lg { padding: 0.85rem 1.6rem; font-size: 1rem; }
.btn .short-text { display: none; }
@media (max-width: 1000px) { .nav-center { display: none; } }
@media (max-width: 640px) { .btn .full-text { display: none; } .btn .short-text { display: inline; } }

main { padding-top: 70px; }

/* Hero */
.hero {
    position: relative;
    padding: 4rem 2rem 2rem;
    background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.18) 0%, rgba(20,27,45,0) 60%), var(--navy);
    overflow: hidden;
}
.hero-inner { max-width: 1140px; margin: 0 auto; }
.hero-breadcrumb { font-size: 0.8125rem; color: var(--text-lighter); margin-bottom: 1.5rem; }
.hero-breadcrumb a { color: var(--text-light); text-decoration: none; }
.hero-breadcrumb a:hover { color: var(--white); }
.hero-breadcrumb .sep { margin: 0 0.5rem; opacity: 0.4; }
.hero-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; }
.hero-logo { width: 88px; height: 88px; border-radius: 18px; background: var(--white); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; border: 1px solid var(--border-light); }
.hero-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.hero-logo .hero-logo-fallback { display: none; font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 2rem; font-weight: 650; color: var(--navy); }
.hero-logo.is-fallback img { display: none; }
.hero-logo.is-fallback .hero-logo-fallback { display: block; }
.hero-content { min-width: 0; }
.hero-eyebrow { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); color: var(--eyebrow); font-size: 0.9375rem; margin-bottom: 0.4rem; }
.hero h1 { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.015em; margin-bottom: 0.4rem; }
.hero-subtitle { color: var(--text-light); font-size: 1rem; line-height: 1.5; }
.hero-subtitle .pill {
    display: inline-block; padding: 0.1rem 0.55rem;
    background: rgba(139,92,246,0.18); color: #C4B5FD;
    border: 1px solid rgba(139,92,246,0.4); border-radius: 999px;
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.01em;
    vertical-align: 1px; margin-left: 0.35rem;
}
.hero-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.hero-meta-line { margin-top: 1.5rem; font-size: 0.8125rem; color: var(--text-faint); line-height: 1.55; }
.hero-meta-line a { color: var(--text-light); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 720px) {
    .hero { padding: 3rem 1.25rem 1.5rem; }
    .hero-row { grid-template-columns: auto 1fr; }
    .hero-actions { grid-column: 1 / -1; margin-top: 0.75rem; }
    .hero-logo { width: 64px; height: 64px; border-radius: 14px; }
    /* One fact per line: side by side they wrap mid-pair and read as noise. */
    .hero-facts { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .hero-fact { width: 100%; justify-content: flex-start; }
    .hero-fact-label { min-width: 7.5rem; }
    .hero-fact-spark { margin-left: auto; }
    .hero-fact-unlock { margin-top: 0.35rem; }
    .hero-tiers { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
    /* Full-width cards make a 16:9 band nearly 200px tall — a banner, not a
       thumbnail. Flatten it so a phone still shows several cards per screen. */
    #featured-in .fi-thumb { aspect-ratio: 5 / 2; }
}

/* Headline metrics, folded into the hero. A label/value pair at body weight
   with a thumbnail sparkline — the numbers sit alongside sector, city and
   founding year rather than above them. */
.hero-facts {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 1.75rem;
    margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--border-light);
}
.hero-fact { display: inline-flex; align-items: baseline; gap: 0.45rem; color: var(--text-faint); }
.hero-fact-label { font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-lighter); }
.hero-fact-value {
    font-family: var(--font-display); font-size: 1rem; font-weight: 600;
    font-variant-numeric: tabular-nums; letter-spacing: -0.005em; color: var(--white);
}
.hero-fact-spark { width: 46px; height: 15px; opacity: 0.5; align-self: center; flex: none; }
/* Gated-metrics CTA. At rest it is caption-sized and sits inside the fact row
   without competing with the numbers; on hover it becomes an unmistakable
   button and explains what is behind the lock. The pitch is absolutely
   positioned so nothing in the row moves. */
.hero-fact-unlock {
    position: relative; display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.2rem 0.6rem; border: 1px solid var(--border-light); border-radius: 999px;
    font-size: 0.75rem; font-weight: 500; color: var(--text-lighter); text-decoration: none;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.hero-fact-lock { width: 11px; height: 11px; flex: none; }
.hero-fact-unlock:hover, .hero-fact-unlock:focus-visible {
    color: var(--eyebrow, var(--blue));
    border-color: var(--eyebrow, var(--blue));
    background: var(--blue-light, var(--navy-light));
}
.hero-fact-unlock-pitch {
    position: absolute; bottom: calc(100% + 0.5rem); left: 50%; transform: translateX(-50%) translateY(3px);
    width: max-content; max-width: 17rem; padding: 0.55rem 0.7rem;
    background: var(--surface-card, var(--navy-light)); border: 1px solid var(--border-light);
    border-radius: 8px; box-shadow: var(--shadow-md);
    color: var(--text-light); font-size: 0.75rem; font-weight: 400; line-height: 1.4;
    text-align: left; opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
    z-index: 5;
}
.hero-fact-unlock:hover .hero-fact-unlock-pitch,
.hero-fact-unlock:focus-visible .hero-fact-unlock-pitch {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
@media (hover: none) { .hero-fact-unlock-pitch { display: none; } }

/* Power Law membership. A standing fact about the company, so it reads in the
   same rhythm as the metrics above it — tier name, then the threshold that
   defines it — rather than as a badge. */
.hero-tiers { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 1.5rem; margin-top: 0.7rem; }
.hero-tiers-label {
    font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase;
    color: var(--text-lighter);
}
.hero-tier { display: inline-flex; align-items: baseline; gap: 0.45rem; text-decoration: none; }
.hero-tier-name { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--eyebrow, var(--blue)); }
.hero-tier-sub { font-size: 0.8125rem; color: var(--text-faint); }
.hero-tier:hover .hero-tier-name { text-decoration: underline; text-underline-offset: 3px; }

/* Legacy KPI card grid — still used by pages that have not been rebuilt. */
.hero-metrics { max-width: 1140px; margin: 0 auto; padding: 0.5rem 2rem 1.5rem; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.kpi-card { background: rgba(0,0,0,0.25); border: 1px solid var(--border-light); border-radius: 14px; padding: 1rem 1.1rem; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.kpi-head { display: flex; align-items: center; justify-content: space-between; gap: 0.4rem; }
.kpi-label { color: var(--text-lighter); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; display: flex; align-items: center; gap: 0.4rem; }
.kpi-trend { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.6875rem; font-weight: 600; color: var(--teal); background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); padding: 0.1rem 0.45rem; border-radius: 999px; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.kpi-trend.is-neutral { color: var(--text-lighter); background: rgba(255,255,255,0.05); border-color: var(--border-light); }
.kpi-trend.is-neutral .arrow { color: var(--text-faint); }
.kpi-trend .arrow { font-size: 0.65rem; }
.kpi-trend .v-blur { display: inline-block; color: var(--text-faint); filter: blur(2.5px); user-select: none; min-width: 1.6em; text-align: center; }
.kpi-value { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 1.75rem; font-weight: 600; line-height: 1.1; margin-top: 0.55rem; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; color: var(--white); }
.kpi-range-caption { color: var(--text-faint); font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 0.3rem; }
.kpi-spark { margin-top: 0.6rem; width: 100%; height: 32px; display: block; opacity: 0.85; }
.kpi-locked-cta { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.55rem; font-size: 0.75rem; color: var(--text-light); text-decoration: none; }
.kpi-locked-cta::before { content: "🔒"; font-size: 0.65rem; }
.kpi-locked-cta:hover { color: var(--white); }
@media (max-width: 800px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .kpi-grid { grid-template-columns: 1fr; } }

/* Featured in — one block under the hero: the datasets the entity belongs to
   (undated chips) above the dated content that names it, newest first.
   It opens the page body, so it sits closer to the hero than a mid-page
   section would. */
section.body-section#featured-in { padding-top: 1.75rem; }
#featured-in .fi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 0.9rem; }
#featured-in .fi-card {
    display: flex; flex-direction: column; overflow: hidden;
    border: 1px solid var(--border-light); border-radius: 12px; background: var(--surface-card, var(--navy-light));
    text-decoration: none; transition: border-color .15s ease, transform .15s ease;
}
#featured-in .fi-card:hover { border-color: var(--border-mid, var(--border-light)); transform: translateY(-2px); }
#featured-in .fi-thumb {
    display: block; aspect-ratio: 16 / 9; background: var(--blue-light, var(--navy-light));
    border-bottom: 1px solid var(--border-light); overflow: hidden;
}
#featured-in .fi-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* No picture: a quiet band that keeps the card the same shape as its neighbours. */
#featured-in .fi-thumb--blank { display: flex; align-items: center; justify-content: center; padding: 0 1rem; }
#featured-in .fi-thumb-word {
    font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
    letter-spacing: -0.01em; color: var(--eyebrow, var(--blue)); text-align: center;
    line-height: 1.15; overflow-wrap: anywhere;
}
#featured-in .fi-thumb-mark { font-size: 1.5rem; color: var(--eyebrow, var(--blue)); opacity: 0.45; }
#featured-in .fi-body { display: flex; flex-direction: column; gap: 0.45rem; padding: 0.9rem 1rem 1rem; }
/* --blue-light resolves EMPTY in dark mode on these pages, so every rule using
   it needs a fallback or the background silently disappears. The pill sits on a
   --navy-light card, so it falls back to the darker --navy to stay a pill. */
#featured-in .fi-kind {
    align-self: flex-start; padding: 0.14rem 0.55rem; border-radius: 999px;
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    background: var(--blue-light, var(--navy)); color: var(--eyebrow, var(--blue));
}
#featured-in .fi-title { color: var(--white); font-weight: 600; font-size: 0.95rem; line-height: 1.35; }
#featured-in .fi-date { color: var(--text-lighter); font-size: 0.78rem; }

/* Ranking strip */
.ranking-strip { background: var(--navy); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.ranking-strip-inner { max-width: 1140px; margin: 0 auto; padding: 1rem 2rem; display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.ranking-strip-label { color: var(--text-faint); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; margin-right: 0.5rem; }
.rank-chip { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.4rem 0.85rem; background: rgba(59,130,246,0.10); border: 1px solid rgba(59,130,246,0.35); border-radius: 999px; color: var(--white); text-decoration: none; font-size: 0.8125rem; font-weight: 500; transition: background 0.15s ease, border-color 0.15s ease; }
.rank-chip:hover { background: rgba(59,130,246,0.18); border-color: rgba(59,130,246,0.6); }
.rank-chip .rank-num { color: var(--blue); font-weight: 600; font-variant-numeric: tabular-nums; }
.rank-chip-purple { background: rgba(139,92,246,0.12); border-color: rgba(139,92,246,0.4); }
.rank-chip-purple .rank-num { color: #C4B5FD; }
.rank-chip-purple:hover { background: rgba(139,92,246,0.22); }

/* Body sections */
section.body-section { padding: 3rem 2rem; }
section.body-section.alt { background: var(--navy-light); }
.body-inner { max-width: 1140px; margin: 0 auto; }

.section-eyebrow { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); color: var(--eyebrow); font-size: 0.9375rem; margin-bottom: 0.5rem; }
.section-title { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 1.75rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.section-sub { color: var(--text-light); font-size: 1rem; margin-bottom: 1.75rem; max-width: 720px; }

/* Brief description */
.blurb-inner { max-width: 760px; margin: 0 auto; padding: 2.5rem 2rem; }
.blurb-inner p { color: var(--text-light); font-size: 1.0625rem; line-height: 1.65; margin-bottom: 0.9rem; }
.blurb-inner p:last-child { margin-bottom: 0; }
.blurb-inner p strong { color: var(--white); font-weight: 600; }
.blurb-inner p a { color: var(--blue); text-decoration: none; }
.blurb-inner p a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* The hero tagline doubles as the toggle for the long-form "about" text, so the
   control sits on the line it expands instead of floating between sections.
   Tokens only — the page is light-only. */
.hero-about { margin-top: 1.5rem; }
.hero-about > summary {
    cursor: pointer; list-style: none;
    margin-top: 0;                       /* the details carries the spacing */
    /* Same measure as the body text below, so "More" lands at the right edge of
       the text column rather than stranded at the far side of a wide hero. */
    max-width: 760px;
    display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: nowrap;
}
.hero-about > summary::-webkit-details-marker { display: none; }
.hero-about > summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.hero-about-line { flex: 1 1 auto; min-width: 0; }
/* A plain underlined word, right-aligned. No chevron: the arrow read as decoration
   rather than a control, so it wasn't obvious the line could be opened. An
   underlined word in link blue is the affordance people already know, and it is
   underlined at rest rather than only on hover — hover is not discoverable, and
   does not exist on touch at all. */
.hero-about-toggle {
    flex: 0 0 auto; margin-left: auto;
    color: var(--blue); font-weight: 600; white-space: nowrap;
    text-decoration: underline; text-underline-offset: 3px;
}
.hero-about > summary:hover .hero-about-toggle { text-decoration-thickness: 2px; }
/* One label swaps for the other, so the control always reads as its next action. */
.hero-about .ha-less { display: none; }
.hero-about[open] .ha-more { display: none; }
.hero-about[open] .ha-less { display: inline; }
.hero-about-body { padding-top: 0.9rem; max-width: 760px; }
.hero-about-body p {
    color: var(--text-light); font-size: 0.9375rem; line-height: 1.65; margin-bottom: 0.8rem;
}
.hero-about-body p:last-child { margin-bottom: 0; }

/* Backers grouped by stage */
.backer-stage-group { margin-bottom: 1.75rem; }
.backer-stage-group:last-child { margin-bottom: 0; }
.backer-stage-header { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.85rem; padding-bottom: 0.55rem; border-bottom: 1px solid var(--border-light); }
.backer-stage-chip { display: inline-flex; align-items: center; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.25rem 0.65rem; border-radius: 999px; font-variant-numeric: tabular-nums; }
.backer-stage-chip.stage-Seed     { color: #6EE7B7; background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.3); }
.backer-stage-chip.stage-SeriesA  { color: #93C5FD; background: rgba(59, 130, 246, 0.14); border: 1px solid rgba(59, 130, 246, 0.32); }
.backer-stage-chip.stage-SeriesBp { color: #C4B5FD; background: rgba(124, 58, 237, 0.16); border: 1px solid rgba(124, 58, 237, 0.35); }
.backer-stage-chip.stage-Other    { color: var(--text-light); background: rgba(255,255,255,0.06); border: 1px solid var(--border-light); }
.backer-stage-count { font-size: 0.8125rem; color: var(--text-lighter); font-variant-numeric: tabular-nums; }
.backer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.75rem; }
.backer-stage-group.is-collapsible .backer-grid {
    position: relative;
    transition: max-height 0.2s ease;
}
.backer-stage-group.is-collapsible:not(.is-expanded) .backer-grid {
    max-height: 18.25rem;
    overflow: hidden;
}
.backer-stage-group.is-collapsible:not(.is-expanded) .backer-grid::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4.5rem;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(30, 42, 69, 0), var(--navy-light));
}
.backer-stage-group.is-collapsible.is-expanded .backer-grid {
    max-height: none;
}
.backer-show-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: 0.5rem 0.95rem;
    border: 1px solid rgba(147, 197, 253, 0.32);
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.10);
    color: #BFDBFE;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.backer-show-more:hover {
    background: rgba(59, 130, 246, 0.18);
    border-color: rgba(147, 197, 253, 0.55);
    color: var(--white);
}
.backer-card { display: flex; align-items: center; gap: 0.85rem; padding: 0.85rem 1rem; background: rgba(0,0,0,0.2); border: 1px solid var(--border-light); border-radius: 12px; text-decoration: none; color: inherit; transition: background 0.12s ease, border-color 0.12s ease; position: relative; }
.backer-card:hover { background: rgba(255,255,255,0.04); border-color: var(--border-mid); }
.backer-card.is-static { cursor: default; }
.backer-card.is-static:hover { background: rgba(0,0,0,0.2); border-color: var(--border-light); }
.backer-logo { width: 36px; height: 36px; border-radius: 8px; background: var(--white); flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--border-light); }
.backer-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.backer-logo .backer-mono { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #111827; font-weight: 700; font-size: 0.875rem; line-height: 1; }
.backer-meta { min-width: 0; }
.backer-name { font-size: 0.9375rem; font-weight: 500; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.backer-loc { font-size: 0.75rem; color: var(--text-lighter); margin-top: 0.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 640px) {
    .backer-stage-header { flex-wrap: wrap; align-items: center; }
    .backer-stage-group.is-collapsible:not(.is-expanded) .backer-grid { max-height: 13.9rem; }
}

/* Spin-out / alumni startups */
.alumni-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.75rem; margin-bottom: 1.75rem; }
.alumni-stat { background: rgba(0,0,0,0.22); border: 1px solid var(--border-light); border-radius: 12px; padding: 0.85rem 1rem; }
.alumni-stat-num { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 1.625rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.alumni-stat-label { color: var(--text-lighter); font-size: 0.75rem; margin-top: 0.25rem; letter-spacing: 0.02em; }
.alumni-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.75rem; }
.alumni-card { background: rgba(0,0,0,0.22); border: 1px solid var(--border-light); border-radius: 12px; padding: 0.95rem 1.1rem; display: flex; flex-direction: column; text-decoration: none; transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease; }
.alumni-card:hover { background: rgba(255,255,255,0.04); border-color: var(--border-mid); transform: translateY(-1px); }
.alumni-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.45rem; }
.alumni-name { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 1.0625rem; font-weight: 600; color: var(--white); line-height: 1.2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alumni-year { display: inline-flex; align-items: center; color: #FBBF77; font-size: 0.6875rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; padding: 0.1rem 0.45rem; background: rgba(242, 165, 94, 0.12); border: 1px solid rgba(242, 165, 94, 0.28); border-radius: 999px; letter-spacing: 0.02em; }
.alumni-founder { color: var(--text-light); font-size: 0.8125rem; display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.25rem; }
/* Avatar — fixed 26×26 circle. Belt-and-braces sizing (flex basis + min/max +
   width/height + explicit pixel size on the img) so a stale-cache mismatch
   between old CSS and new HTML can't let the natural-size image escape its
   container on iOS Safari. */
.alumni-avatar { flex: 0 0 26px; width: 26px; height: 26px; min-width: 26px; max-width: 26px; min-height: 26px; max-height: 26px; border-radius: 50%; background: linear-gradient(135deg, #8B5CF6, #3B82F6); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.02em; flex-shrink: 0; overflow: hidden; }
.alumni-avatar.has-photo { background: rgba(255,255,255,0.04); }
.alumni-avatar img { width: 26px; height: 26px; max-width: 26px; max-height: 26px; object-fit: cover; display: block; border-radius: 50%; }
.alumni-signal { color: var(--text-lighter); font-size: 0.75rem; margin-top: 0.45rem; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; gap: 0.3rem; }
.alumni-signal-label { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.alumni-signal strong { color: var(--white); font-weight: 600; }
.alumni-signal-bar { position: relative; height: 4px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; }
.alumni-signal-fill { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, rgba(16,185,129,0.55), var(--teal)); border-radius: 999px; box-shadow: 0 0 8px rgba(16,185,129,0.35); }
.alumni-cta { text-align: center; margin-top: 1.5rem; font-size: 0.875rem; }
.alumni-cta a { color: var(--blue); text-decoration: none; }
.alumni-cta a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.alumni-country { margin-left: auto; display: inline-flex; align-items: center; line-height: 1; flex-shrink: 0; }
.alumni-country .cc-flag { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", emoji, sans-serif; font-size: 1rem; line-height: 1; }
.alumni-country .cc-text { display: none; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.1rem 0.35rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: 4px; color: var(--text-light); font-variant-numeric: tabular-nums; }
html.no-flag-emoji .alumni-country .cc-flag { display: none; }
html.no-flag-emoji .alumni-country .cc-text { display: inline-flex; }

/* Alumni grid — horizontal scroll on mobile so the section stays compact and 12 cards aren't a long vertical stack. */
@media (max-width: 640px) {
    .alumni-grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -1.25rem;
        padding: 0.25rem 1.25rem 0.75rem;
        gap: 0.625rem;
    }
    .alumni-grid::-webkit-scrollbar { display: none; }
    .alumni-card {
        flex: 0 0 78%;
        max-width: 280px;
        scroll-snap-align: start;
    }
    .alumni-card:last-child { margin-right: 0.5rem; }
}

/* Global footprint — AI talent + workforce + traffic by country.
   Renderer emits an inline `grid-template-columns` based on how many cards
   are present (1 / 2 / 3). The inline style governs desktop layout. */
.footprint-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 1rem; }
/* Tablet: drop to one card per row so each card stays readable. Three side-
   by-side at ~256px each gets cramped. !important to override the inline
   grid-template-columns. */
@media (max-width: 1000px) { .footprint-grid { grid-template-columns: 1fr !important; } }
/* Mobile: horizontal scroll so the cards stay readable instead of being squeezed
   into half-viewport columns. Mirrors the alumni-grid pattern. The !important
   on display/grid-template overrides the inline `grid-template-columns` set
   server-side based on card count. */
@media (max-width: 720px) {
    .footprint-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -1.25rem;
        padding: 0.25rem 1.25rem 0.75rem;
        gap: 0.75rem;
    }
    .footprint-grid::-webkit-scrollbar { display: none; }
    .footprint-card {
        flex: 0 0 85%;
        max-width: 320px;
        scroll-snap-align: start;
    }
    .footprint-card:last-child { margin-right: 0.5rem; }
}
.footprint-card { background: rgba(0,0,0,0.22); border: 1px solid var(--border-light); border-radius: 14px; padding: 1.25rem 1.4rem 1.4rem; display: flex; flex-direction: column; }
.footprint-eyebrow { color: var(--text-lighter); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.55rem; }
.footprint-title { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 1.125rem; font-weight: 600; line-height: 1.3; margin-bottom: 1rem; }
.footprint-headline { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 1rem; }
.footprint-headline-num { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.footprint-headline-label { color: var(--text-lighter); font-size: 0.8125rem; line-height: 1.3; }

/* HQ-fallback card — fires when a company has no FTE-by-country data in the
   source sheet. Single-country view with the HQ flag at a slightly larger
   size than the numeric headline, plus an honest note. */
.footprint-headline-flag { font-size: 2.4rem !important; line-height: 1.1; }
.hq-fallback-note { color: var(--text-lighter); font-size: 0.8125rem; line-height: 1.5; margin: 0.85rem 0 0; font-style: italic; }

/* Workforce-by-country teaser — shown when the local profile lacks the FTE
   breakdown. Pairs an HQ context strip with a blurred-bar skeleton and a
   CTA into the full Dealroom platform. */
.footprint-teaser { position: relative; }
.footprint-teaser-hq {
    display: flex; align-items: center; gap: 0.55rem;
    margin-bottom: 1.1rem;
}
.footprint-teaser-hq-flag { font-size: 1.5rem; line-height: 1; }
.footprint-teaser-hq-text { color: var(--white); font-size: 0.9375rem; font-weight: 500; }
.footprint-teaser-hq-tag {
    color: var(--text-lighter); font-size: 0.625rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 0.1rem 0.45rem; border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-light);
}
.footprint-teaser-bars {
    display: flex; flex-direction: column; gap: 0.6rem;
    filter: blur(3px) saturate(0.7);
    opacity: 0.55;
    pointer-events: none; user-select: none;
    margin-bottom: 1.1rem;
}
.footprint-teaser-row { display: flex; flex-direction: column; gap: 0.2rem; }
.footprint-teaser-label {
    height: 9px;
    background: rgba(255,255,255,0.14);
    border-radius: 4px;
}
.footprint-teaser-cta {
    display: inline-flex; align-items: center; gap: 0.45rem;
    align-self: flex-start;
    color: var(--white); font-size: 0.8125rem; font-weight: 600;
    padding: 0.55rem 0.95rem; border-radius: 999px;
    background: rgba(59, 130, 246, 0.14);
    border: 1px solid rgba(59, 130, 246, 0.32);
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.footprint-teaser-cta:hover {
    background: rgba(59, 130, 246, 0.22);
    border-color: rgba(59, 130, 246, 0.5);
}
.footprint-teaser-lock { font-size: 0.875rem; line-height: 1; }
.footprint-teaser-arrow { color: rgba(255,255,255,0.7); }

/* AI talent stacked bar */
.ai-talent-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: rgba(255,255,255,0.05); margin-bottom: 0.85rem; }
.ai-talent-bar > span { display: block; height: 100%; }
.ai-talent-bar .seg-core { background: linear-gradient(90deg, #8B5CF6, #6D28D9); }
.ai-talent-bar .seg-other { background: linear-gradient(90deg, #3B82F6, #2563EB); }
.ai-talent-bar .seg-non { background: rgba(255,255,255,0.08); }
.ai-talent-legend { display: flex; flex-direction: column; gap: 0.55rem; }
.ai-talent-row { display: grid; grid-template-columns: 12px 1fr auto auto; gap: 0.6rem; align-items: center; font-size: 0.8125rem; }
.ai-talent-dot { width: 10px; height: 10px; border-radius: 3px; }
.ai-talent-row .label { color: var(--text-light); }
.ai-talent-row .count { color: var(--text-lighter); font-variant-numeric: tabular-nums; }
.ai-talent-row .pct { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; min-width: 3em; text-align: right; }

/* Country breakdown bars */
.country-list { display: flex; flex-direction: column; gap: 0.55rem; }
.country-row { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; font-size: 0.8125rem; color: var(--text-light); }
.country-bar-track { grid-column: 1 / -1; height: 4px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; margin-top: 0.15rem; }
.country-bar-fill { height: 100%; background: linear-gradient(90deg, #3B82F6, #8B5CF6); border-radius: 999px; }
.country-row .pct { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }
.country-row.is-traffic .country-bar-fill { background: linear-gradient(90deg, #10B981, #3B82F6); }
.country-meta-foot { margin-top: 0.85rem; font-size: 0.75rem; color: var(--text-faint); }

/* Talent graph — teaser radar. The shape is public; exact scores are blurred
   (same gating philosophy as the KPI ranges) to drive demo bookings. Fully
   theme-aware: surfaces/text/borders use semantic tokens that flip under
   html[data-theme]; the SVG is themed via currentColor + var(--orange-accent)
   (NOT inline fill/stroke, which wouldn't follow the theme). Light is default. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.talent-blur { filter: blur(5.5px); user-select: none; -webkit-user-select: none; font-variant-numeric: tabular-nums; }

/* Proof bar — crisp person-level counts (the "we identified the actual people"
   signal). Hero stat (tier-1 standout operators) accented in orange. */
.talent-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-bottom: 1.75rem; }
.talent-stat { display: flex; flex-direction: column; gap: 0.35rem; padding-left: 1rem; border-left: 2px solid var(--border-mid); }
.talent-stat.is-hero { border-left-color: var(--orange-accent); }
.talent-stat-num { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 2.35rem; font-weight: 600; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.talent-stat.is-hero .talent-stat-num { color: var(--orange-accent); }
.talent-stat-label { display: flex; flex-direction: column; font-size: 0.8125rem; color: var(--text-lighter); line-height: 1.35; }
.talent-stat-label strong { color: var(--white); font-weight: 600; }

.talent-graph { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: 1rem 2.25rem; align-items: center; background: var(--navy); border: 1px solid var(--border-light); border-radius: 16px; padding: 1.5rem 1.75rem 1.75rem; }
.talent-graph-chart { position: relative; margin: 0; min-width: 0; }
/* color drives the SVG's currentColor (grid + axis labels) → adapts per theme */
.talent-radar { width: 100%; height: auto; display: block; max-width: 460px; margin: 0 auto; overflow: visible; color: var(--white); }
.tg-ring { fill: none; stroke: currentColor; stroke-opacity: 0.13; stroke-width: 1; }
.tg-ring.is-outer { fill: currentColor; fill-opacity: 0.022; }
.tg-spoke { stroke: currentColor; stroke-opacity: 0.13; stroke-width: 1; }
.tg-shape { fill: color-mix(in srgb, var(--orange-accent) 16%, transparent); stroke: var(--orange-accent); stroke-width: 2.4; stroke-linejoin: round; }
.tg-vertex { fill: var(--orange-accent); }
.tg-axis { fill: currentColor; fill-opacity: 0.86; font-size: 13px; font-weight: 600; }
.talent-graph-overall { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 0.15rem; text-align: center; pointer-events: none; padding: 0.6rem 1rem; border-radius: 16px; background: radial-gradient(closest-side, var(--navy) 55%, transparent); }
.talent-graph-overall-label { color: var(--text-lighter); font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.talent-graph-overall-num { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 1.75rem; font-weight: 650; line-height: 1; color: var(--white); display: inline-flex; align-items: baseline; }
.talent-graph-overall-num .talent-blur { filter: blur(5px); letter-spacing: 0.02em; }
.talent-graph-overall-max { color: var(--text-faint); font-size: 0.8125rem; font-weight: 500; margin-left: 1px; }

.talent-graph-scores { display: flex; flex-direction: column; min-width: 0; }
.talent-graph-scores-head { display: flex; justify-content: space-between; color: var(--text-faint); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border-light); margin-bottom: 0.15rem; }
.talent-score-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) 72px 2.6em; align-items: center; gap: 0.65rem; padding: 0.55rem 0; border-bottom: 1px solid var(--border-light); }
.talent-score-dot { width: 9px; height: 9px; display: block; }
.talent-score-label { color: var(--white); font-size: 0.875rem; font-weight: 500; display: inline-flex; align-items: center; gap: 0.45rem; min-width: 0; }
.talent-score-live { flex: none; display: inline-flex; align-items: center; gap: 0.28rem; color: var(--teal); font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.talent-score-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: talentPulse 2.4s ease-out infinite; }
@keyframes talentPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent); } 70% { box-shadow: 0 0 0 5px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.talent-score-bar { height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--white) 12%, transparent); overflow: hidden; }
.talent-score-fill { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, color-mix(in srgb, var(--orange-accent) 45%, transparent), var(--orange-accent)); }
.talent-score-val { text-align: right; color: var(--white); font-size: 0.9375rem; font-weight: 600; }

/* Talent strip — a single compact band (2026-08: replaced the row ledger,
   which replaced the radar). Six cells: mapped people, founders, key
   operators, potential founders, startup mafia, talent movements. */
section.body-section#talent-graph { padding-top: 2rem; padding-bottom: 2rem; }
.talent-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem 1.5rem; flex-wrap: wrap; }
.talent-head .section-title { margin-bottom: 0; }
.talent-head .talent-graph-cta { margin: 0 0 0.3rem; }
.talent-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 1.25rem; background: var(--navy); border: 1px solid var(--border-light); border-radius: 14px; padding: 1rem 0.35rem; }
.ts-cell { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.15rem 1.1rem; border-left: 1px solid var(--border-light); min-width: 0; }
.ts-cell:first-child { border-left: 0; }
.ts-label { color: var(--text-lighter); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.ts-value { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 1.4rem; font-weight: 600; line-height: 1.2; color: var(--white); font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.ts-value .tt-avatar { width: 22px; height: 22px; }
.ts-max { color: var(--text-faint); font-size: 0.8125rem; font-weight: 500; }
.ts-sub { color: var(--text-lighter); font-size: 0.75rem; }
.ts-link { color: inherit; text-decoration: none; }
.ts-link:hover { text-decoration: underline; }
.ts-arrow { color: var(--text-light); font-size: 1rem; }
#talent-graph .talent-graph-source { margin-top: 0.85rem; }
@media (max-width: 900px) {
    .talent-strip { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; padding: 1rem 0.5rem; }
    .ts-cell:nth-child(odd) { border-left: 0; }
}

/* Talent ledger — the compact person-first rows that replaced the radar
   (2026-08: founders / key operators / potential founders / startup mafia /
   talent movements). Radar + score-row classes above are kept for the
   preserved static profiles and still-cached renders. */
.talent-ledger { display: flex; flex-direction: column; background: var(--navy); border: 1px solid var(--border-light); border-radius: 16px; padding: 0.4rem 1.5rem 1.35rem; max-width: 720px; }
#talent-graph .talent-stats { max-width: 720px; }
.tl-row { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 0.8rem 0; border-bottom: 1px solid var(--border-light); }
.tl-title { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--white); font-size: 0.9375rem; font-weight: 600; }
.tl-avatars { display: inline-flex; }
.tl-avatars .tt-avatar { width: 26px; height: 26px; }
.tl-avatars .tt-avatar + .tt-avatar { margin-left: -9px; }
.tl-val { color: var(--text-lighter); font-size: 0.875rem; text-align: right; font-variant-numeric: tabular-nums; }
.tl-val strong { color: var(--white); font-weight: 600; }
.tl-val .talent-blur { color: var(--white); font-weight: 600; }
.tl-max { color: var(--text-faint); }
.tl-link { color: inherit; text-decoration: none; }
.tl-link:hover strong, .tl-link:hover { color: var(--white); }

.talent-graph-cta { display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start; margin-top: 1.1rem; color: var(--white); font-size: 0.8125rem; font-weight: 600; padding: 0.6rem 1.05rem; border-radius: 999px; background: color-mix(in srgb, var(--blue) 14%, transparent); border: 1px solid color-mix(in srgb, var(--blue) 34%, transparent); text-decoration: none; transition: background 0.15s ease, border-color 0.15s ease; }
.talent-graph-cta:hover { background: color-mix(in srgb, var(--blue) 22%, transparent); border-color: color-mix(in srgb, var(--blue) 52%, transparent); }
.talent-graph-lock { font-size: 0.875rem; line-height: 1; }
.talent-graph-arrow { color: var(--text-light); }
.talent-graph-source { margin-top: 1.25rem; font-size: 0.75rem; color: var(--text-faint); }
.talent-graph-source a { color: var(--text-light); text-decoration: underline; }

@media (max-width: 760px) {
    .talent-stats { grid-template-columns: 1fr; gap: 1rem; }
    .talent-graph { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.25rem 1.25rem 1.5rem; }
    .talent-radar { max-width: 360px; }
    .tg-axis { font-size: 17px; }
    .talent-ledger { padding: 0.15rem 1.1rem 1.2rem; }
    .tl-row { flex-direction: column; align-items: flex-start; gap: 0.3rem; padding: 0.7rem 0; }
    .tl-val { text-align: left; }
}

/* Patent intelligence */
.patent-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1rem; }
@media (max-width: 800px) { .patent-grid { grid-template-columns: 1fr; } }
.patent-summary, .patent-breakdown { background: rgba(0,0,0,0.22); border: 1px solid var(--border-light); border-radius: 14px; padding: 1.4rem 1.5rem; display: flex; flex-direction: column; }
.patent-eyebrow { color: var(--text-lighter); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.55rem; }
.patent-headline-num { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 3rem; font-weight: 600; line-height: 1; color: var(--white); letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.patent-headline-num.is-zero { color: var(--text-lighter); }
.patent-headline-sub { color: var(--text-light); font-size: 0.9375rem; margin-top: 0.5rem; line-height: 1.45; }
.patent-status-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.1rem; }
.patent-status-chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.7rem; background: rgba(255,255,255,0.05); border: 1px solid var(--border-light); border-radius: 999px; font-size: 0.75rem; color: var(--text-light); font-variant-numeric: tabular-nums; }
.patent-status-chip strong { color: var(--white); font-weight: 600; }
.patent-status-chip.granted strong { color: var(--teal); }
.patent-status-chip.pending strong { color: #93C5FD; }
.patent-empty { margin-top: 1rem; padding: 1rem 1.1rem; background: rgba(255,255,255,0.03); border: 1px dashed var(--border-light); border-radius: 12px; color: var(--text-light); font-size: 0.875rem; line-height: 1.55; }
.patent-empty strong { color: var(--white); font-weight: 600; }
.patent-breakdown-title { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; margin-bottom: 1rem; }
.patent-cat-list { display: flex; flex-direction: column; gap: 0.65rem; }
.patent-cat-row { display: grid; grid-template-columns: 1fr auto auto; gap: 0.6rem; font-size: 0.8125rem; color: var(--text-light); align-items: center; }
.patent-cat-bar { grid-column: 1 / -1; height: 5px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; margin-top: 0.15rem; }
.patent-cat-bar-fill { height: 100%; background: linear-gradient(90deg, #8B5CF6, #3B82F6); border-radius: 999px; }
.patent-cat-row .count { color: var(--text-lighter); font-variant-numeric: tabular-nums; }
.patent-cat-row .pct { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; min-width: 3em; text-align: right; }

/* Ownership donut — estimated cap table (data/shareholders.json).
   Chrome uses semantic tokens (flips with the theme); slice colours are the
   data palette set inline by profile-template-lean.mjs. */
.own-wrap { display: grid; grid-template-columns: minmax(210px, 300px) 1fr; gap: 1.75rem 2.5rem; align-items: center; }
.own-donut { position: relative; width: 100%; max-width: 300px; margin: 0 auto; aspect-ratio: 1 / 1; }
.own-svg { width: 100%; height: 100%; display: block; }
.own-slice { transition: opacity 0.15s ease; cursor: pointer; }
.own-slice.is-dim { opacity: 0.26; }
.own-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; padding: 0 20%; }
.own-center-pct { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.own-center-name { margin-top: 0.35rem; font-size: 0.8125rem; color: var(--text-light); line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.own-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.own-legend li { margin: 0; }
.own-leg-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 0.7rem; align-items: center; width: 100%; padding: 0.5rem 0.6rem; background: none; border: 0; border-radius: 8px; font: inherit; text-align: left; cursor: pointer; transition: background 0.12s ease; text-decoration: none; color: inherit; box-sizing: border-box; }
.own-leg-row:hover, .own-leg-row.is-active { background: rgba(127, 127, 127, 0.12); } /* theme-guardrail-allow: neutral hover tint, reads correctly on both themes */
.own-leg-row:focus-visible { outline: 1px solid var(--blue); outline-offset: 1px; }
.own-dot { width: 11px; height: 11px; flex-shrink: 0; display: block; }
.own-leg-text { min-width: 0; display: flex; flex-direction: column; }
.own-leg-name { color: var(--white); font-weight: 600; font-size: 0.9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.own-leg-detail { color: var(--text-lighter); font-size: 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.own-leg-pct { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 0.9375rem; }
.own-foot { margin-top: 1.4rem; font-size: 0.8125rem; color: var(--text-faint); line-height: 1.55; }
.own-foot a { color: var(--text-light); text-decoration: underline; text-underline-offset: 3px; }
.own-lock { display: inline-flex; vertical-align: -2px; margin-right: 0.35rem; color: var(--text-light); }
/* Section surface follows the themed --navy token (light in light mode, navy in dark). */
#ownership { background: var(--navy); }
/* Card surface via --navy (light in light mode, navy in dark) — matches #ownership,
   so the investor-returns table sits on the card surface, not the alt grey. */
#investor-returns { background: var(--navy); }
/* Redacted shareholder name — a blurred bar, no real text in the DOM (unscrapable). */
.own-redact { display: inline-block; height: 0.78em; max-width: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--text-faint), var(--text-lighter)); opacity: 0.5; filter: blur(2px); }
.own-leg-row.is-locked { cursor: default; }
@media (max-width: 720px) {
    .own-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
    .own-donut { max-width: 230px; }
}

/* Investor returns — money-in / money-out by financing cohort (renderInvestorReturns).
   A roughly-right proceeds table: money in (primary capital), estimated money out
   (implied ownership × exit value) and a √-scaled MOIC magnitude bar. Colours on the
   bars encode the return tier (data-viz, theme-guardrail-allow); all type uses the
   themed semantic tokens so it reads in both light and dark. */
.ir-wrap { margin-top: 1.5rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ir-wrap::-webkit-scrollbar { display: none; }
.ir-table { min-width: 640px; }
.ir-head, .ir-row {
    display: grid;
    grid-template-columns: minmax(150px, 1.7fr) minmax(96px, 1fr) minmax(72px, 0.8fr) minmax(96px, 0.9fr) minmax(124px, 1.25fr);
    column-gap: 1.1rem;
    align-items: center;
}
.ir-head {
    padding: 0 0 0.7rem;
    color: var(--text-lighter);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}
.ir-h-in, .ir-h-out { text-align: right; }
.ir-row { min-height: 3rem; padding: 0.8rem 0; border-top: 1px solid var(--border-light); }
.ir-row > div { min-width: 0; }
.ir-cohort { display: flex; flex-direction: column; gap: 0.15rem; }
.ir-cohort-name { color: var(--white); font-weight: 600; font-size: 0.9375rem; line-height: 1.2; }
.ir-cohort-sub { color: var(--text-lighter); font-size: 0.75rem; line-height: 1.2; }
.ir-round { color: var(--text-light); font-size: 0.8125rem; }
.ir-in { text-align: right; color: var(--text-light); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.ir-out { text-align: right; color: var(--white); font-weight: 600; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.ir-moic { display: flex; align-items: center; gap: 0.65rem; }
.ir-moic-bar { flex: 1 1 auto; min-width: 0; height: 8px; border-radius: 999px; overflow: hidden; background: rgba(127, 127, 127, 0.18); } /* theme-guardrail-allow: neutral track tint, reads on both themes */
.ir-moic-fill { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #64748b, #94a3b8); } /* theme-guardrail-allow: data-viz MOIC magnitude */
.ir-moic.t-a .ir-moic-fill { background: linear-gradient(90deg, #16a34a, #4ade80); } /* theme-guardrail-allow: data-viz — outsized return */
.ir-moic.t-b .ir-moic-fill { background: linear-gradient(90deg, #2563eb, #60a5fa); } /* theme-guardrail-allow: data-viz — strong return */
.ir-moic.t-loss .ir-moic-fill { background: linear-gradient(90deg, #dc2626, #f87171); } /* theme-guardrail-allow: data-viz — underwater */
.ir-moic-val { flex: 0 0 auto; min-width: 2.75rem; text-align: right; color: var(--white); font-weight: 600; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.ir-moic.t-loss .ir-moic-val { color: #dc2626; } /* theme-guardrail-allow: data-viz — underwater multiple */
.ir-foot { margin-top: 1.4rem; font-size: 0.8125rem; color: var(--text-faint); line-height: 1.55; }
.ir-foot a { color: var(--text-light); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
    .ir-wrap { overflow: visible; }
    .ir-table { min-width: 0; }
    .ir-head { display: none; }
    .ir-row { grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; padding: 0.95rem 0; align-items: start; }
    .ir-cohort, .ir-moic { grid-column: 1 / -1; }
    .ir-in, .ir-out, .ir-round { text-align: left; }
    .ir-round::before, .ir-in::before, .ir-out::before, .ir-moic::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.2rem;
        color: var(--text-faint);
        font-size: 0.625rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
}

/* Deal-analysis cross-link (renderDealCallout) — a card linking the profile to
   its published /resources/ deep-dive. */
.deal-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.4rem 1.6rem;
    border-radius: 16px;
    background: var(--navy);
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.deal-callout:hover { border-color: var(--blue); }
.deal-callout-text { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.deal-callout-kicker { color: var(--eyebrow); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.deal-callout-title { color: var(--white); font-weight: 600; font-size: 1.1rem; line-height: 1.25; }
.deal-callout-desc { color: var(--text-lighter); font-size: 0.875rem; line-height: 1.45; }
.deal-callout-cta { flex-shrink: 0; color: var(--blue); font-weight: 600; font-size: 0.9375rem; white-space: nowrap; }
@media (max-width: 720px) {
    .deal-callout { flex-direction: column; align-items: flex-start; gap: 0.9rem; padding: 1.2rem 1.25rem; }
}

/* Latest news (renderNewsSection) — featured image cards + a 2-col headlines
   grid, hydrated at runtime from /api/entity-news. Mirrors the investor profile
   news layout; clicking any item opens a "book a demo" nudge (.news-demo-pop)
   rather than the article. Theme-aware via tokens (light default + dark). */
.news-section .body-inner { max-width: 1200px; }
.news-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.news-header .section-eyebrow, .news-header .section-title { margin-bottom: 0.5rem; }
.news-header .section-sub { margin-bottom: 0; }
.news-see-all { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--teal); text-decoration: none; font-size: 0.9375rem; font-weight: 500; flex-shrink: 0; padding-top: 1.85rem; transition: color 0.15s ease; }
.news-see-all:hover { color: var(--white); }
.news-see-all svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.news-see-all:hover svg { transform: translateX(3px); }
.news-grid { display: flex; flex-direction: column; gap: 2.5rem; }
.news-card-meta, .news-headline-meta { display: flex; align-items: center; gap: 0.6rem; font-size: 0.6875rem; color: var(--text-lighter); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.news-meta-source { color: var(--teal); }
.news-meta-date { color: var(--text-lighter); }
.news-meta-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); display: inline-block; flex-shrink: 0; }
.news-featured { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
@media (min-width: 1025px) {
    .news-featured[data-count="1"] { grid-template-columns: minmax(0, 480px); }
    .news-featured[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.news-card.no-image .news-card-image { display: none; }
.news-card { background: var(--navy-light); border: 1px solid var(--border-light); border-radius: 12px; overflow: hidden; color: inherit; display: flex; flex-direction: column; cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.news-card:hover, .news-card:focus-visible { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-lg); outline: none; }
.news-card-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--navy-lighter); display: block; }
.news-card-content { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: 0.55rem; }
.news-card-title { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; color: var(--white); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: -0.005em; }
.news-card-excerpt { font-size: 0.8125rem; color: var(--text-light); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-headlines { display: flex; flex-direction: column; gap: 1rem; }
.news-headlines-label { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); color: var(--text-lighter); font-size: 0.875rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--border-light); }
.news-headlines-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.news-headline { color: inherit; display: flex; flex-direction: column; gap: 0.45rem; padding: 1.1rem 1.25rem 1.1rem 0; border-top: 1px solid var(--border-light); cursor: pointer; transition: padding-left 0.2s ease; }
.news-headlines-list .news-headline:nth-child(2n) { padding-left: 1.5rem; padding-right: 0; border-left: 1px solid var(--border-light); }
.news-headline:hover, .news-headline:focus-visible { padding-left: 0.4rem; outline: none; }
.news-headlines-list .news-headline:nth-child(2n):hover, .news-headlines-list .news-headline:nth-child(2n):focus-visible { padding-left: 1.9rem; }
.news-headline-title { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 1.125rem; font-weight: 600; line-height: 1.3; color: var(--white); letter-spacing: -0.005em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.15s ease; }
.news-headline:hover .news-headline-title, .news-headline:focus-visible .news-headline-title { color: var(--teal); }
.news-headline-excerpt { font-size: 0.8125rem; color: var(--text-light); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-demo-pop { position: fixed; left: 50%; bottom: 24px; z-index: 1200; display: flex; align-items: center; gap: 0.85rem; max-width: calc(100vw - 32px); padding: 0.75rem 0.8rem 0.75rem 1rem; background: var(--navy-light); border: 1px solid var(--border-mid); border-radius: 999px; box-shadow: var(--shadow-xl); color: var(--white); opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity 0.18s ease, transform 0.18s ease; }
.news-demo-pop.is-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.news-demo-pop-copy { display: flex; align-items: baseline; gap: 0.55rem; min-width: 0; }
.news-demo-pop strong { font-size: 0.875rem; white-space: nowrap; }
.news-demo-pop span { color: var(--text-light); font-size: 0.8125rem; white-space: nowrap; }
.news-demo-pop a { flex-shrink: 0; padding: 0.45rem 0.8rem; border-radius: 999px; background: var(--blue); color: #fff; text-decoration: none; font-size: 0.8125rem; font-weight: 700; } /* theme-guardrail-allow: white text on solid --blue button, white in both themes (matches .btn-primary) */
.news-demo-pop-close { width: 28px; height: 28px; border: 0; border-radius: 999px; background: var(--navy-lighter); color: var(--text-light); cursor: pointer; font-size: 1rem; line-height: 1; }
.news-demo-pop-close:hover { color: var(--white); }
.news-grid:has(.news-skel) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.news-skel { height: 320px; border-radius: 12px; background: linear-gradient(90deg, var(--navy-light), var(--navy-lighter), var(--navy-light)); background-size: 200% 100%; animation: newsSkelShimmer 1.6s linear infinite; border: 1px solid var(--border-light); }
@keyframes newsSkelShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (max-width: 1024px) { .news-featured { grid-template-columns: repeat(2, 1fr); } .news-grid:has(.news-skel) { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
    .news-featured { grid-template-columns: 1fr; }
    .news-headlines-list { grid-template-columns: 1fr; }
    .news-headlines-list .news-headline:nth-child(2n) { padding-left: 0; border-left: none; }
    .news-headlines-list .news-headline:nth-child(2n):hover, .news-headlines-list .news-headline:nth-child(2n):focus-visible { padding-left: 0.4rem; }
    .news-grid:has(.news-skel) { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .news-see-all { padding-top: 0; } }
@media (max-width: 640px) {
    .news-demo-pop { width: calc(100vw - 24px); border-radius: 16px; align-items: flex-start; }
    .news-demo-pop-copy { flex: 1; flex-direction: column; gap: 0.15rem; }
    .news-demo-pop span { white-space: normal; }
}

/* Patent shape — peer comparison spider chart */
.pshape-card { background: var(--navy); border: 1px solid var(--border-light); border-radius: 16px; padding: 1.5rem 1.5rem 1.25rem; margin-top: 1.5rem; }
.pshape-picker { display: flex; align-items: center; flex-wrap: wrap; gap: 0.625rem 0.75rem; margin-bottom: 1.25rem; }
.pshape-picker-label { color: var(--text-lighter); font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; margin-right: 0.5rem; }
.pshape-pills { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.pshape-pill { display: inline-flex; align-items: center; gap: 5px; padding: 0.4rem 0.85rem; border-radius: 999px; border: 1px solid var(--border-light); background: rgba(255,255,255,0.03); color: var(--text-light); font-family: inherit; font-size: 0.8125rem; font-weight: 500; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.pshape-pill:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.pshape-pill.is-selected { background: color-mix(in srgb, var(--p-color) 14%, transparent); border-color: var(--p-color); color: var(--white); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--p-color) 40%, transparent); }
.pshape-pill.is-selected.is-pinned { background: color-mix(in srgb, var(--orange-accent) 18%, transparent); border-color: var(--orange-accent); color: var(--white); cursor: default; }
.pshape-pill.is-pinned { --p-color: var(--orange-accent); }
.pshape-pin { color: var(--orange-accent); font-size: 0.75rem; line-height: 1; }
.pshape-similar { display: inline-flex; align-items: center; gap: 4px; background: rgba(124,58,237,0.10); border: 1px solid rgba(124,58,237,0.30); color: #C4B5FD; font-family: inherit; font-size: 0.8125rem; font-weight: 600; padding: 0.4rem 0.875rem; border-radius: 999px; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; }
.pshape-similar:hover { background: rgba(124,58,237,0.18); border-color: rgba(124,58,237,0.5); }
.pshape-similar-icon { font-size: 0.875rem; line-height: 1; }
.pshape-clear { background: none; border: 0; color: var(--text-lighter); font-family: inherit; font-size: 0.75rem; cursor: pointer; padding: 0.25rem 0.5rem; margin-left: 0.5rem; text-decoration: underline; text-underline-offset: 2px; }
.pshape-clear:hover { color: var(--white); }
.pshape-chart { background: rgba(255,255,255,0.022); border: 1px solid var(--border-light); border-radius: 12px; padding: 1rem 1rem 0.75rem; margin: 0; }
.pshape-chart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; padding-bottom: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 0.5rem; }
.pshape-chart-head h3 { margin: 0; font-size: 0.9375rem; font-weight: 600; color: var(--white); }
.pshape-chart-sub { color: var(--text-lighter); font-size: 0.75rem; }
.pshape-radar { width: 100%; height: auto; display: block; max-width: 720px; margin: 0 auto; }
.pshape-foot { color: var(--text-lighter); font-size: 0.75rem; line-height: 1.5; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.06); margin-top: 1rem; }
@media (max-width: 600px) { .pshape-pill { padding: 0.3rem 0.65rem; font-size: 0.75rem; } }
/* Bump radar SVG text on mobile — viewBox is 600 wide so a 360px-wide phone
   shrinks the 12/11px attribute font-sizes to ~7px effective. CSS overrides
   the SVG attribute and the values are interpreted in viewBox user-units. */
@media (max-width: 720px) {
    .pshape-radar text { font-size: 22px; }
    .pshape-radar tspan { font-size: 20px; }
}

/* Locked / blurred teaser cards */
.teaser-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 800px) { .teaser-grid { grid-template-columns: 1fr; } }
.teaser-card { background: rgba(0,0,0,0.22); border: 1px solid var(--border-light); border-radius: 14px; padding: 1.25rem 1.4rem 1.4rem; position: relative; overflow: hidden; }
.teaser-eyebrow { color: var(--text-lighter); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.85rem; display: flex; align-items: center; gap: 0.4rem; }
.teaser-eyebrow::before { content: "🔒"; font-size: 0.7rem; }
.teaser-title { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 1.125rem; font-weight: 600; margin-bottom: 0.3rem; line-height: 1.3; }
.teaser-rows { margin-top: 0.85rem; display: flex; flex-direction: column; gap: 0.55rem; position: relative; }
.teaser-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 0.85rem; padding: 0.4rem 0; border-top: 1px solid rgba(255,255,255,0.05); }
.teaser-row:first-child { border-top: none; }
.teaser-label { color: var(--text-lighter); font-size: 0.8125rem; }
.teaser-bar { height: 14px; border-radius: 5px; background: linear-gradient(90deg, rgba(59,130,246,0.45), rgba(139,92,246,0.4)); filter: blur(5px); opacity: 0.6; }
.teaser-bar.short { width: 35%; }
.teaser-bar.med { width: 55%; }
.teaser-bar.long { width: 78%; }
.teaser-fade { position: absolute; left: 0; right: 0; bottom: -1.4rem; height: 60%; background: linear-gradient(180deg, transparent, var(--navy-light) 95%); pointer-events: none; }
.teaser-cta { position: relative; margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.4rem; color: var(--blue); text-decoration: none; font-size: 0.875rem; font-weight: 500; z-index: 2; }
.teaser-cta:hover { color: var(--white); }
.teaser-cta::after { content: "→"; transition: transform 0.15s ease; }
.teaser-cta:hover::after { transform: translateX(3px); }

/* CTA band */
.cta-band { background: linear-gradient(180deg, var(--navy-light), var(--navy)); padding: 4rem 2rem; border-top: 1px solid var(--border-light); text-align: center; }
.cta-band-inner { max-width: 720px; margin: 0 auto; }
.cta-band h2 { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-weight: 600; font-size: 2rem; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 0.6rem; }
.cta-band p { color: var(--text-light); font-size: 1.0625rem; margin-bottom: 1.75rem; }
.cta-band-actions { display: inline-flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
@media (max-width: 480px) {
    /* .btn is white-space:nowrap, so a long CTA label (e.g. "Open <Sector> on
       Dealroom") can't wrap and overruns the viewport on phones. Stack the
       band's buttons full-width and let the label wrap instead. */
    .cta-band { padding-left: 1.25rem; padding-right: 1.25rem; }
    .cta-band-actions { width: 100%; flex-direction: column; }
    .cta-band-actions .btn { width: 100%; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
    .kpi-value.blurred { filter: blur(7px); }
}
@media (max-width: 720px) {
    section.body-section { padding: 2.25rem 1.25rem; }
    .section-title { font-size: 1.4rem; }
    .ranking-strip-inner { padding: 0.85rem 1.25rem; }
}

/* In-page TOC sidebar — fixed left only when the viewport has room; at
   constrained desktop widths it falls back to the floating FAB/popover. */
.toc-sidebar { position: fixed; top: 84px; left: 14px; width: 216px; max-height: calc(100vh - 104px); overflow-y: auto; padding: 0.875rem 0 0; background: rgba(20, 27, 45, 0.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 10px; z-index: 90; opacity: 0; transform: translateX(-6px); transition: opacity 0.3s ease, transform 0.3s ease; pointer-events: none; scrollbar-width: thin; scrollbar-color: var(--navy-lighter) transparent; }
.toc-sidebar.visible { opacity: 1; transform: translateX(0); pointer-events: auto; }
.toc-sidebar::-webkit-scrollbar { width: 4px; }
.toc-sidebar::-webkit-scrollbar-thumb { background: var(--navy-lighter); border-radius: 4px; }
.toc-eyebrow { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; width: 100%; padding: 0 1rem 0.5rem; margin: 0; background: none; border: 0; font: inherit; font-size: 0.625rem; font-weight: 600; color: rgba(255, 255, 255, 0.4); text-transform: uppercase; letter-spacing: 0.1em; text-align: left; cursor: pointer; transition: color 0.15s ease; }
.toc-eyebrow:hover { color: rgba(255, 255, 255, 0.85); }
.toc-eyebrow:focus-visible { outline: 1px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.toc-top-arrow { width: 12px; height: 12px; opacity: 0; transform: translateY(2px); transition: opacity 0.2s ease, transform 0.2s ease; }
.toc-sidebar.is-scrolled .toc-top-arrow { opacity: 0.7; transform: translateY(0); }
.toc-eyebrow:hover .toc-top-arrow { opacity: 1; }
.toc-nav { list-style: none; margin: 0; padding: 0; }
.toc-link { display: flex; align-items: baseline; gap: 0.625rem; padding: 0.4rem 1rem 0.4rem 0.875rem; text-decoration: none; color: rgba(255, 255, 255, 0.55); font-size: 0.8125rem; font-weight: 500; line-height: 1.3; border-left: 2px solid transparent; transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease; }
.toc-link:hover { color: var(--white); background: rgba(255, 255, 255, 0.04); }
.toc-link.active { color: var(--white); border-left-color: var(--blue); background: rgba(59, 130, 246, 0.07); font-weight: 600; }
.toc-num { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 0.75rem; color: var(--blue); min-width: 0.875rem; font-variant-numeric: tabular-nums; }
.toc-progress { height: 2px; background: rgba(255, 255, 255, 0.05); margin-top: 0.5rem; border-radius: 0 0 10px 10px; overflow: hidden; }
.toc-progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--blue), #10B981); transition: width 0.15s ease; }
.toc-fab { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; background: rgba(20, 27, 45, 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.75); display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 95; opacity: 0; transform: scale(0.92); transition: opacity 0.25s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease; pointer-events: none; padding: 0; }
.toc-fab.visible { opacity: 1; transform: scale(1); pointer-events: auto; }
.toc-fab:hover { background: rgba(59, 130, 246, 0.22); color: var(--white); }
.toc-fab svg { width: 18px; height: 18px; display: block; }
@media (max-width: 1580px) {
    .toc-sidebar { top: auto; bottom: 74px; right: 18px; left: auto; width: 240px; max-height: calc(100vh - 120px); transform: translateY(8px); transition: opacity 0.25s ease, transform 0.25s ease; }
    .toc-sidebar.visible:not(.mobile-open) { opacity: 0; transform: translateY(8px); pointer-events: none; }
    .toc-sidebar.mobile-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
    .toc-fab { display: flex; }
}

/* ============================================================
   Sentiment from X
   ============================================================ */
.sentiment-section .body-inner { max-width: 1140px; }

.sentiment-card {
    margin-top: 1.5rem;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(59,130,246,0.10), transparent 55%),
        radial-gradient(120% 120% at 100% 100%, rgba(139,92,246,0.10), transparent 55%),
        var(--navy-light);
    padding: 1.75rem;
    overflow: hidden;
}

.sentiment-loading { display: flex; flex-direction: column; align-items: center; gap: 0.85rem; padding: 2.5rem 1rem; color: var(--text-lighter); font-size: 0.9375rem; }
.sentiment-loading-spinner { width: 28px; height: 28px; border: 3px solid rgba(255,255,255,0.08); border-top-color: var(--blue); border-radius: 50%; animation: sentimentSpin 1s linear infinite; }
@keyframes sentimentSpin { to { transform: rotate(360deg); } }

.sentiment-empty { padding: 2rem 1rem; text-align: center; color: var(--text-light); }
.sentiment-empty p { max-width: 520px; margin: 0 auto; }

/* Top: overview + voices */
.sentiment-overview { display: grid; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-light); margin-bottom: 1.5rem; }

.sentiment-mood { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; }
.sentiment-pill {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.4rem 0.85rem; border-radius: 999px;
    font-size: 0.8125rem; font-weight: 650;
    border: 1px solid;
    font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-style: italic; letter-spacing: 0.01em;
}
.sentiment-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.sentiment-pill.is-positive { color: #6EE7B7; background: rgba(16,185,129,0.10); border-color: rgba(16,185,129,0.45); }
.sentiment-pill.is-positive::before { background: #34D399; box-shadow: 0 0 8px rgba(52,211,153,0.7); }
.sentiment-pill.is-negative { color: #FCA5A5; background: rgba(239,68,68,0.10); border-color: rgba(239,68,68,0.45); }
.sentiment-pill.is-negative::before { background: #F87171; box-shadow: 0 0 8px rgba(248,113,113,0.7); }
.sentiment-pill.is-mixed { color: #FCD34D; background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.4); }
.sentiment-pill.is-mixed::before { background: #FBBF24; box-shadow: 0 0 8px rgba(251,191,36,0.6); }

.sentiment-meta { color: var(--text-lighter); font-size: 0.8125rem; }
.sentiment-meta strong { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }

.sentiment-summary { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 1.1875rem; line-height: 1.5; color: var(--white); max-width: 820px; }

.sentiment-voices { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; }
.voices-label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.voices-list { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.voice-chip {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.25rem 0.65rem 0.25rem 0.25rem;
    border-radius: 999px; background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-light);
    color: var(--text-light); font-size: 0.8125rem; text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.voice-chip:hover { background: rgba(59,130,246,0.10); color: var(--white); border-color: rgba(59,130,246,0.4); }

.x-avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--navy-lighter); object-fit: cover; flex-shrink: 0; }
.x-avatar.is-fallback { display: inline-flex; align-items: center; justify-content: center; font-size: 0.625rem; font-weight: 700; color: var(--white); text-transform: uppercase; }

/* Themes */
.sentiment-themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.theme-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.1rem 1.1rem 1rem;
    display: flex; flex-direction: column; gap: 0.7rem;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.theme-card:hover { border-color: rgba(59,130,246,0.35); background: rgba(255,255,255,0.04); }
.theme-title { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 1.0625rem; font-weight: 650; line-height: 1.3; color: var(--white); }
.theme-desc { color: var(--text-light); font-size: 0.875rem; line-height: 1.5; }
.theme-quotes { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.25rem; }
.theme-quote {
    display: block; text-decoration: none; color: inherit;
    background: rgba(0,0,0,0.18);
    border: 1px solid var(--border-light);
    border-radius: 10px; padding: 0.55rem 0.7rem;
    transition: border-color 0.15s ease, background 0.15s ease, padding 0.15s ease;
}
.theme-quote:hover, .theme-quote.is-expanded { border-color: rgba(59,130,246,0.35); background: rgba(59,130,246,0.08); }
.quote-head { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; cursor: pointer; }
.quote-handle { font-size: 0.75rem; font-weight: 600; color: var(--white); flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quote-stats { display: inline-flex; gap: 0.6rem; font-size: 0.6875rem; color: var(--text-faint); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.quote-toggle { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex-shrink: 0; color: var(--text-faint); transition: transform 0.15s ease, color 0.15s ease; }
.theme-quote:hover .quote-toggle, .theme-quote.is-expanded .quote-toggle { color: var(--white); }
.theme-quote.is-expanded .quote-toggle { transform: rotate(180deg); }
.quote-toggle svg { width: 12px; height: 12px; display: block; }
/* Hidden by default — expanded inline via :hover (desktop) or .is-expanded (touch click) */
.quote-text {
    font-size: 0.8125rem; line-height: 1.5; color: var(--text-light);
    margin-top: 0; max-height: 0; overflow: hidden;
    transition: max-height 0.2s ease, margin-top 0.15s ease;
}
@media (hover: hover) {
    .theme-quote:hover .quote-text { max-height: 280px; margin-top: 0.45rem; }
}
.theme-quote.is-expanded .quote-text { max-height: 280px; margin-top: 0.45rem; }

.sentiment-foot { margin-top: 1rem; font-size: 0.75rem; color: var(--text-faint); }

@media (max-width: 720px) {
    .sentiment-card { padding: 1.25rem; border-radius: 12px; }
    .sentiment-summary { font-size: 1.0625rem; }
}

/* ==========================================================================
   Investments & Acquisitions section (Sequoia-style portfolio market map,
   adapted for company profiles — combined VC + M&A with type/stage filters).
   ========================================================================== */
.deals-section { padding: 4rem 1.5rem 2rem; }
.deals-inner { max-width: 1200px; margin: 0 auto; }

/* Type pill row — sits at the top of both sub-sections, governs both. */
.deals-typepills {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    padding: 4px;
    width: fit-content;
    margin: 0 0 2rem;
}
.deals-typepill {
    background: transparent;
    border: 0;
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1.125rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-variant-numeric: tabular-nums;
}
.deals-typepill:hover { color: var(--white); }
.deals-typepill .deals-typepill-count {
    font-size: 0.6875rem;
    color: var(--text-faint);
}
.deals-typepill.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    box-shadow: inset 0 0 0 1px var(--border-light);
}
.deals-typepill.active .deals-typepill-count { color: var(--text-light); }
.deals-typepill[data-type="ma"] .deals-typepill-dot {
    width: 8px; height: 8px; border-radius: 999px; background: var(--orange-accent);
    box-shadow: 0 0 6px rgba(247, 163, 64, 0.55);
}
.deals-typepill[data-type="vc"] .deals-typepill-dot {
    width: 8px; height: 8px; border-radius: 999px; background: var(--blue);
}
.deals-typepill[data-type="both"] .deals-typepill-dot {
    width: 8px; height: 8px; border-radius: 999px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 50%, var(--orange-accent) 50%, var(--orange-accent) 100%);
}

/* Capital-deployment radar — local M&A/VC/Both toggle. Mirrors the look of
   .deals-typepills but uses a unique class so the section's main type-pill
   handler doesn't grab these. */
.dr-typepills {
    display: flex; gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    padding: 4px;
    width: fit-content;
    margin: 0 0 1rem;
}
.dr-typepill {
    background: transparent; border: 0;
    color: var(--text-light);
    font-family: inherit; font-size: 0.8125rem; font-weight: 500;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-variant-numeric: tabular-nums;
}
.dr-typepill:hover { color: var(--white); }
.dr-typepill.active {
    background: rgba(255, 255, 255, 0.08); color: var(--white);
    box-shadow: inset 0 0 0 1px var(--border-light);
}
.dr-typepill[data-rtype="ma"] .dr-typepill-dot {
    width: 8px; height: 8px; border-radius: 999px; background: var(--orange-accent);
    box-shadow: 0 0 6px rgba(247, 163, 64, 0.55);
}
.dr-typepill[data-rtype="vc"] .dr-typepill-dot {
    width: 8px; height: 8px; border-radius: 999px; background: var(--blue);
}
.dr-typepill[data-rtype="both"] .dr-typepill-dot {
    width: 8px; height: 8px; border-radius: 999px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 50%, var(--orange-accent) 50%, var(--orange-accent) 100%);
}
.dr-empty {
    color: var(--text-lighter);
    font-size: 0.875rem;
    text-align: center;
    margin: 0.75rem 0 0;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-light);
    border-radius: 8px;
}

/* Portfolio analysis (3-column breakdown above the map) */
.pa-section { padding: 0 0 2rem; }
.pa-eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--text-lighter);
    font-size: 0.6875rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.14em;
    margin-bottom: 0.75rem;
}
.pa-eyebrow-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    color: var(--blue);
    font-size: 0.875rem;
}
.pa-title {
    font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif);
    font-size: 1.625rem; font-weight: 500;
    color: var(--white);
    margin: 0 0 0.5rem;
    line-height: 1.25;
}
.pa-sub {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}
.pa-card {
    background: var(--navy-light);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1rem;
}
.pa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pa-col-head {
    display: flex; justify-content: space-between; align-items: baseline;
    font-size: 0.6875rem; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--text-lighter);
    margin-bottom: 0.625rem; padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-light);
}
.pa-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.pa-row { display: block; font-variant-numeric: tabular-nums; }
.pa-row-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; margin-bottom: 4px; }
.pa-name {
    color: var(--white); font-size: 0.8125rem; font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pa-name.pa-stage { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.75rem; font-weight: 600; }
.pa-count { color: var(--white); font-size: 0.8125rem; font-weight: 500; flex-shrink: 0; }
.pa-bar { height: 3px; background: rgba(255, 255, 255, 0.05); border-radius: 2px; overflow: hidden; }
.pa-bar > span { display: block; height: 100%; border-radius: 2px; background: var(--blue); }
.pa-col.pa-col-sector .pa-bar > span { background: #A78BFA; }
.pa-col.pa-col-stage  .pa-bar > span { background: #10B981; }
.pa-col.pa-col-period .pa-bar > span { background: #3B82F6; }
@media (max-width: 800px) { .pa-grid { grid-template-columns: 1fr; gap: 1.25rem; } }

/* Market map card — pills, status, sector boxes, chips */
.mm-card {
    background: var(--navy-light);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.25rem;
}
.mm-pills { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.25rem; }
.mm-pill-group { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.mm-pill-label {
    color: var(--text-lighter);
    font-size: 0.6875rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.14em;
    margin-right: 0.5rem;
    min-width: 88px;
}
.mm-pill {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.8125rem; font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    user-select: none;
}
.mm-pill:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); }
.mm-pill.active { background: rgba(59, 130, 246, 0.18); border-color: rgba(59, 130, 246, 0.55); color: var(--white); }
.mm-pill .mm-pill-count { font-size: 0.6875rem; color: var(--text-lighter); font-variant-numeric: tabular-nums; }
.mm-pill.active .mm-pill-count { color: var(--text-light); }
.mm-status {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 1rem; margin: 0 0 1rem;
    padding-bottom: 0.875rem; border-bottom: 1px solid var(--border-light);
}
.mm-count { color: var(--text-light); font-size: 0.875rem; }
.mm-count .mm-count-num { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }
.mm-reset {
    color: var(--blue); font-size: 0.8125rem; font-weight: 500;
    background: none; border: 0; cursor: pointer; font-family: inherit; padding: 0;
}
.mm-reset:hover { text-decoration: underline; text-underline-offset: 3px; }
.mm-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 0.625rem;
}
.mm-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    padding: 0.75rem 0.8125rem;
    display: flex; flex-direction: column; gap: 0.5rem; min-width: 0;
}
.mm-box-head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.mm-box-name {
    font-size: 0.8125rem; font-weight: 600; color: var(--white);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    text-transform: capitalize;
}
.mm-box-count { font-size: 0.75rem; font-weight: 600; color: var(--white); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.mm-box-bar { height: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; margin-bottom: 0.25rem; }
.mm-box-bar > span {
    display: block; height: 100%; border-radius: 999px;
    background: linear-gradient(90deg, #3B82F6, #A78BFA);
    transition: width 0.25s ease;
}
.mm-boxes-more { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 0.25rem; }
.mm-boxes-more button {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.28);
    color: #BFDBFE;
    border-radius: 999px;
    padding: 0.4rem 0.875rem;
    font-size: 0.75rem; font-weight: 500;
    font-family: inherit; cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.mm-boxes-more button:hover { background: rgba(59, 130, 246, 0.16); border-color: rgba(59, 130, 246, 0.50); color: #DBEAFE; }
.mm-box-pills { display: flex; flex-direction: row; flex-wrap: wrap; gap: 4px; min-width: 0; align-content: flex-start; }

/* Chip — one tile per portfolio company */
.mm-chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 2px 8px 2px 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    text-decoration: none;
    color: var(--white);
    min-width: 0; max-width: 100%;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.mm-chip:hover { background: rgba(59, 130, 246, 0.12); border-color: rgba(59, 130, 246, 0.32); }
.mm-chip.kind-ma:hover { background: rgba(247, 163, 64, 0.14); border-color: rgba(247, 163, 64, 0.42); }
.mm-chip-logo {
    width: 18px; height: 18px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: 999px;
    padding: 1.5px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.mm-chip-logo img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 999px; }
.mm-chip-logo .mm-mono {
    font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif);
    font-size: 0.625rem; font-weight: 650; color: var(--navy); line-height: 1;
}
.mm-chip-name {
    font-size: 0.75rem; font-weight: 500; color: var(--white);
    line-height: 1.15;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    min-width: 0; max-width: 180px;
}

/* Stage badge — colors carry meaning. M&A is the distinctive amber/orange. */
.mm-chip-stage {
    font-size: 0.6rem; font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.07);
    padding: 1px 5px;
    border-radius: 999px;
    line-height: 1.25;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    text-transform: uppercase;
}
.mm-chip-stage.stage-Seed     { color: #6EE7B7; background: rgba(16, 185, 129, 0.14); }
.mm-chip-stage.stage-SeriesA  { color: #93C5FD; background: rgba(59, 130, 246, 0.16); }
.mm-chip-stage.stage-SeriesB  { color: #C4B5FD; background: rgba(124, 58, 237, 0.18); }
.mm-chip-stage.stage-SeriesCp { color: #DDD6FE; background: rgba(167, 139, 250, 0.20); }
.mm-chip-stage.stage-Late     { color: #FBCFE8; background: rgba(236, 72, 153, 0.18); }
.mm-chip-stage.stage-Other    { color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }
/* M&A — the distinctive amber/orange the user asked for. */
.mm-chip-stage.stage-MA {
    color: #FCD34D;
    background: rgba(247, 163, 64, 0.18);
    box-shadow: inset 0 0 0 1px rgba(247, 163, 64, 0.35);
}

/* Teaser blur — final chips of an overflowing sector are obscured to hint
   that more data lives behind the "+ N more →" link (matches the pattern on
   /investors/ profiles). */
.mm-chip.is-blurred {
    filter: blur(3.5px) saturate(0.65);
    opacity: 0.55;
    pointer-events: none;
    user-select: none;
}

.mm-more {
    padding: 4px 8px 0;
    font-size: 0.6875rem; font-weight: 600;
    color: var(--blue);
    background: none; border: 0; cursor: pointer;
    font-family: inherit; text-align: left;
    margin-top: 2px;
}
.mm-more:hover { text-decoration: underline; text-underline-offset: 2px; }
.mm-empty {
    grid-column: 1/-1;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-lighter);
    font-size: 0.875rem;
}

@media (max-width: 800px) {
    .deals-section { padding: 2.5rem 1.25rem 1rem; }
    .pa-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .deals-typepills { width: 100%; }
    .deals-typepill { flex: 1; justify-content: center; }
}

/* ════════════════════════════════════════════════════════════════════════
   Curated-intel FOMO sections (companies/intel/<slug>.json)
   Market map · Top talent · Inventions · Growth signals · Competitive.
   Calm + proprietary: reuse the section chrome, semantic theme tokens, and the
   established blur/redaction idiom. Light is default; everything flips on tokens.
   ════════════════════════════════════════════════════════════════════════ */

/* Theme-matched logo tile (shared by market map + competitive). Uses the
   logo-tile tokens so the frame stays light in light mode and dark in dark. */
.intel-tile { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--logo-tile-bg); border: 1px solid var(--logo-tile-border); overflow: hidden; }
.intel-tile img { width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; }
.intel-tile-mono { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 0.875rem; font-weight: 700; color: var(--text-light); align-items: center; justify-content: center; width: 100%; height: 100%; display: flex; }

/* ── Market map placement (NOT blurred) ─────────────────────────────────── */
.mmap-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.mmap-tag { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.01em; color: var(--text-light); padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--navy-light); border: 1px solid var(--border-mid); }
.mmap-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.6rem; margin-bottom: 1.6rem; }
.mmap-rowlabel { display: block; color: var(--text-faint); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.7rem; }
/* Closest-company cards — compact (~2/3 height): small logo tile, tight padding */
.mmap-node { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.7rem 0.85rem; border-radius: 12px; background: var(--navy-light); border: 1px solid var(--border-light); }
.mmap-node.is-self { border-color: var(--orange-accent); box-shadow: inset 0 0 0 1px var(--orange-accent); }
.mmap-node .intel-tile { width: 30px; height: 30px; border-radius: 8px; }
.mmap-node .intel-tile img { padding: 5px; }
.mmap-node-name { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; color: var(--white); font-weight: 600; font-size: 0.875rem; line-height: 1.2; }
.mmap-node.is-self .mmap-node-name { color: var(--orange-accent); }
.mmap-node-note { color: var(--text-lighter); font-size: 0.75rem; line-height: 1.3; }
/* Related curated market maps — live thumbnail cards (mirrors sector pages):
   each previews the real /market-maps/<id>/ landscape chart, scaled down. */
.mmap-related-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.85rem; }
.mmap-map { display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; background: var(--navy-light); border: 1px solid var(--border-light); text-decoration: none; transition: border-color 0.15s ease; }
.mmap-map:hover { border-color: var(--blue); }
.mmap-map-preview { position: relative; height: 158px; overflow: hidden; background: var(--navy); border-bottom: 1px solid var(--border-light); pointer-events: none; }
.mmap-map-preview iframe { width: 320%; height: 320%; border: 0; transform: scale(0.3125); transform-origin: top left; pointer-events: none; }
.mmap-map-body { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.8rem 0.95rem 0.9rem; }
.mmap-map-title { color: var(--white); font-size: 0.9375rem; font-weight: 600; line-height: 1.3; }
.mmap-map-meta { color: var(--text-faint); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.mmap-map-meta strong { color: var(--white); font-weight: 600; }
.mmap-link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1.5rem; color: var(--blue); font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.mmap-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── Top talent roster (inside Talent graph) ────────────────────────────── */
.toptalent { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border-light); }
.toptalent-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.85rem; }
.toptalent-title { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 1.125rem; font-weight: 600; color: var(--white); }
.toptalent-count { font-size: 0.75rem; font-weight: 600; color: var(--teal); padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--navy); border: 1px solid var(--border-mid); white-space: nowrap; }
.toptalent-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; }
.tt-row { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0; min-width: 0; }
.tt-avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 0.8125rem; font-weight: 700; color: var(--text-light); background: var(--navy-light); border: 1px solid var(--border-mid); }
.tt-row.is-named .tt-avatar { color: var(--orange-accent); border-color: var(--orange-accent); }
.tt-avatar.is-locked { background: var(--navy); border: 1px dashed var(--border-mid); }
.tt-meta { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.tt-name { display: flex; align-items: center; gap: 0.45rem; color: var(--white); font-size: 0.875rem; font-weight: 600; min-width: 0; }
.tt-role { color: var(--text-lighter); font-size: 0.75rem; line-height: 1.3; }
.tt-badge { flex: none; font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--orange-accent); padding: 0.1rem 0.4rem; border-radius: 999px; background: var(--navy); border: 1px solid var(--orange-accent); }
.toptalent .talent-graph-cta { margin-top: 1.35rem; }
.toptalent-note { margin: 0.85rem 0 0; font-size: 0.6875rem; color: var(--text-faint); font-style: italic; }

/* ── Most valuable inventions ───────────────────────────────────────────── */
.inv-edge { display: flex; align-items: center; gap: 1.1rem; padding: 0.8rem 1.2rem; margin-bottom: 1.1rem; border-radius: 12px; background: var(--navy-light); border: 1px solid var(--border-light); border-left: 3px solid var(--orange-accent); }
.inv-edge-val { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 2.1rem; font-weight: 700; line-height: 1; color: var(--orange-accent); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.inv-edge-meta { display: flex; flex-direction: column; gap: 0.2rem; }
.inv-edge-label { color: var(--white); font-size: 0.9375rem; font-weight: 600; }
.inv-edge-context { color: var(--text-lighter); font-size: 0.8125rem; }
.inv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.inv-card { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.95rem 1.1rem; border-radius: 12px; background: var(--navy-light); border: 1px solid var(--border-light); }
.inv-kind { align-self: flex-start; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-lighter); padding: 0.15rem 0.5rem; border-radius: 999px; background: var(--navy); border: 1px solid var(--border-mid); }
.inv-name { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 1rem; font-weight: 600; color: var(--white); margin: 0.05rem 0 0; line-height: 1.2; }
.inv-blurb { color: var(--text-light); font-size: 0.8125rem; line-height: 1.4; margin: 0; }
.inv-locked { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border-light); }
.inv-locked-label { display: inline-flex; align-items: center; color: var(--text-light); font-size: 0.875rem; font-weight: 600; }
.inv-locked-val { display: inline-flex; align-items: center; }
.inv-locked .talent-graph-cta { margin-top: 0; margin-left: auto; }

/* Patent value folded into Inventions: a divider'd sub-block carrying the real
   patent-portfolio value + tech-focus radar (reuses the .patent-* styles). */
.inv-patent { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--border-light); }
.inv-patent-eyebrow { color: var(--text-lighter); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.4rem; }
.inv-patent-title { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 1.35rem; font-weight: 600; line-height: 1.2; color: var(--white); letter-spacing: -0.01em; margin-bottom: 1rem; }

/* ── Growth signals ─────────────────────────────────────────────────────── */
.gtraj { display: flex; align-items: flex-end; gap: 0.75rem; padding: 1.25rem 1.25rem 1rem; margin-bottom: 1.5rem; border-radius: 14px; background: var(--navy); border: 1px solid var(--border-light); }
.gtraj-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; min-width: 0; }
.gtraj-bar-wrap { width: 100%; max-width: 64px; height: 88px; display: flex; align-items: flex-end; }
.gtraj-bar { width: 100%; border-radius: 7px 7px 3px 3px; background: var(--orange-accent); min-height: 10px; }
.gtraj-step:last-child .gtraj-bar { background: var(--teal); }
.gtraj-val { color: var(--white); font-size: 0.875rem; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 0.2rem; }
.gtraj-stage { color: var(--text-light); font-size: 0.75rem; font-weight: 600; }
.gtraj-date { color: var(--text-faint); font-size: 0.6875rem; }
.growth-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.85rem; }
.growth-card { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.2rem 1.3rem; border-radius: 14px; background: var(--navy-light); border: 1px solid var(--border-light); }
.growth-card.is-hero { border-left: 2px solid var(--orange-accent); }
.growth-val { font-family: var(--font-display, 'Source Sans 3', system-ui, sans-serif); font-size: 1.85rem; font-weight: 600; line-height: 1; color: var(--white); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; min-height: 1.85rem; }
.growth-card.is-hero .growth-val { color: var(--orange-accent); }
.growth-label { color: var(--white); font-size: 0.8125rem; font-weight: 600; margin-top: 0.15rem; }
.growth-sub { color: var(--text-lighter); font-size: 0.75rem; line-height: 1.35; }
#growth .talent-graph-cta { margin-top: 1.5rem; }

/* ── Competitive landscape ──────────────────────────────────────────────── */
.comp-table { border: 1px solid var(--border-light); border-radius: 14px; overflow: hidden; }
.comp-row { display: flex; align-items: center; gap: 1rem; padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--border-light); }
.comp-row:last-child { border-bottom: 0; }
.comp-head { background: var(--navy); padding-top: 0.7rem; padding-bottom: 0.7rem; }
.comp-head span { color: var(--text-faint); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.comp-row.is-self { border-left: 2px solid var(--orange-accent); }
.comp-co-h { flex: 1 1 auto; }
.comp-metric-h { flex: 0 0 96px; text-align: right; display: inline-flex; align-items: center; justify-content: flex-end; gap: 0.3rem; }
.comp-lock { font-size: 0.6875rem; }
.comp-co { flex: 1 1 auto; display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.comp-co-meta { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.comp-co-name { display: flex; align-items: center; gap: 0.45rem; color: var(--white); font-size: 0.9375rem; font-weight: 600; }
.comp-row.is-self .comp-co-name { color: var(--orange-accent); }
.comp-self-tag { font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange-accent); padding: 0.1rem 0.4rem; border-radius: 999px; border: 1px solid var(--orange-accent); }
.comp-co-desc { color: var(--text-lighter); font-size: 0.8125rem; line-height: 1.35; }
.comp-metric { flex: 0 0 96px; display: inline-flex; align-items: center; justify-content: flex-end; }
#competitive .talent-graph-cta { margin-top: 1.5rem; }

@media (max-width: 760px) {
    .toptalent-list { grid-template-columns: 1fr; gap: 0.25rem; }
    .inv-grid { grid-template-columns: 1fr; }
    .inv-edge-val { font-size: 1.85rem; }
    .inv-locked .talent-graph-cta { margin-left: 0; }
    .comp-metric-h, .comp-metric { flex-basis: 60px; }
    .comp-co-desc { display: none; }
}
