/* 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; }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--border-mid); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.35); }
.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: 'Source Serif 4', serif; font-size: 2rem; font-weight: 600; 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: 'Source Serif 4', Georgia, serif; font-style: italic; color: var(--orange); font-size: 0.9375rem; margin-bottom: 0.4rem; }
.hero h1 { font-family: 'Source Serif 4', Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; 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; }
}

/* KPI metrics row — value shown as a range, sparkline visible, with locked CTA */
.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: 'Source Serif 4', Georgia, serif; font-size: 1.75rem; font-weight: 500; 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; } }

/* 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: 'Source Serif 4', Georgia, serif; font-style: italic; color: var(--orange); font-size: 0.9375rem; margin-bottom: 0.5rem; }
.section-title { font-family: 'Source Serif 4', Georgia, serif; font-size: 1.75rem; font-weight: 500; 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; }

/* 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: 'Source Serif 4', Georgia, serif; font-size: 1.625rem; font-weight: 500; 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: 'Source Serif 4', Georgia, serif; font-size: 1.0625rem; font-weight: 500; 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: 'Source Serif 4', Georgia, serif; font-size: 1.125rem; font-weight: 500; 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: 'Source Serif 4', Georgia, serif; font-size: 2rem; font-weight: 500; 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); }

/* 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: 'Source Serif 4', Georgia, serif; font-size: 3rem; font-weight: 500; 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: 'Source Serif 4', Georgia, serif; font-size: 1.0625rem; font-weight: 500; 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; }

/* 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: 'Source Serif 4', Georgia, serif; font-size: 1.125rem; font-weight: 500; 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: 'Source Serif 4', Georgia, serif; font-weight: 500; 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 (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: 'Source Serif 4', Georgia, 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: 600;
    border: 1px solid;
    font-family: 'Source Serif 4', Georgia, 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: 'Source Serif 4', Georgia, 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: 'Source Serif 4', Georgia, serif; font-size: 1.0625rem; font-weight: 600; 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; }
}

/* ============================================================
   News (entity-filtered Dealroom feed)
   ============================================================ */
.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,
.news-header .section-sub { 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; }

/* Shared meta line (used by both featured cards and headline rows) */
.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; }

/* ── Featured (cards with images) ───────────────────────────────────── */
.news-featured { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
/* When the renderer caps the featured row at 1 or 2 cards, widen them so the
   row reads as complete instead of a 3-col grid with empty cells. */
@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 {
    background: rgba(255,255,255,0.03);
    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: rgba(16,185,129,0.45); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,0.3); outline: none; }
.news-card.no-image .news-card-image { display: none; }
.news-card-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: rgba(255,255,255,0.05); display: block; }
.news-card-content { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: 0.55rem; }
.news-card-title { font-family: 'Source Serif 4', Georgia, serif; font-size: 1.0625rem; font-weight: 500; 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; }

/* ── Headlines (text-only items, list-style) ─────────────────────────── */
.news-headlines { display: flex; flex-direction: column; gap: 1rem; }
.news-headlines-label {
    font-family: 'Source Serif 4', Georgia, serif; font-style: italic;
    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; /* zero gap — rows are separated by their own border-top */
}
.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;
}
/* Right-side column gets its own indent so the two columns don't touch */
.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: 'Source Serif 4', Georgia, serif;
    font-size: 1.125rem; font-weight: 500; 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;
}

/* Skeleton — wrapped in featured grid so it lays out as 3 cards */
.news-grid > .news-skel,
.news-skel {
    height: 320px; border-radius: 12px;
    background: linear-gradient(90deg, rgba(255,255,255,0.025), rgba(255,255,255,0.06), rgba(255,255,255,0.025));
    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; } }
.news-grid:has(.news-skel) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

@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; }
    .news-see-all { padding-top: 0; }
}

.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: #0E1230;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px;
    box-shadow: 0 18px 42px rgba(0,0,0,0.42);
    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: var(--white);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 700;
}
.news-demo-pop-close {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: var(--text-light);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}
.news-demo-pop-close:hover { color: var(--white); background: rgba(255,255,255,0.14); }
@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; }
}

/* ==========================================================================
   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: 'Source Serif 4', Georgia, serif;
    font-size: 1.625rem; font-weight: 400;
    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: 'Source Serif 4', Georgia, serif;
    font-size: 0.625rem; font-weight: 600; 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; }
}
