/* The firm intelligence profile (shared/firm_profile; NETWORK.md NET-30 to
   NET-38). A wide page: a sky header carries identity and scale, then each
   section sits open on the page between rules and takes the form of its
   information (timeline, schedule, bar chart, scatter, funnel, map, histogram,
   head to head, tables). Colour follows the data palette of
   solicitation-records.css: teal is this firm, grey-blue the field, gold is
   today and sign-ins. */
.firm-profile { --fp-ink: #15383a; --fp-deep: #0e3c3e; --fp-copy: #4f6867; --fp-quiet: #5f716f; --fp-faint: #8a9997; --fp-line: #dce5e1; --fp-hair: #e9efec;
  --fp-teal: #126d67; --fp-relation: var(--data-relation, #0f766e); --fp-market: var(--data-market, #a4bcc5); --fp-strong: var(--data-market-strong, #7f9dab);
  --fp-gold: var(--data-current, #c58b28); --fp-gold-ink: #8a5d10; --fp-track: #eef2f1; --fp-panel: #f4f7f9; --fp-panel-line: #dbe4e9;
  color: var(--fp-ink); font-size: 14px; line-height: 1.5; }
.firm-profile a { color: var(--fp-ink); text-decoration: underline; text-decoration-color: rgba(21, 56, 58, .28); text-underline-offset: 3px; }
.firm-profile a:hover { color: var(--fp-teal); }
.firm-profile button:focus-visible, .firm-profile a:focus-visible, .firm-profile summary:focus-visible, .firm-profile circle:focus-visible { outline: 2px solid var(--fp-gold); outline-offset: 2px; }
.firm-profile-wrap { width: 100%; max-width: 1632px; margin: 0 auto; padding: 0 18px; }
.firm-profile h2 { margin: 0; color: var(--fp-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(22px, 1.9vw, 27px); font-weight: 500; letter-spacing: -.015em; line-height: 1.2; }
.firm-profile h3 { margin: 0; color: var(--fp-ink); font-size: 14px; font-weight: 650; }
.firm-profile-h3gap { margin-top: 26px !important; }
.firm-profile-h3note { margin: 2px 0 0; color: var(--fp-quiet); font-size: 13px; }
.firm-profile-note { max-width: 760px; margin: 12px 0 0; color: var(--fp-quiet); font-size: 13px; }
.firm-profile-meta { display: block; color: var(--fp-quiet); font-size: 13px; }
.firm-profile small { color: var(--fp-quiet); }

/* Header */
.firm-profile-sky { background: radial-gradient(1100px 360px at 82% -60px, rgba(255, 246, 220, .95), transparent 70%), linear-gradient(180deg, #dcebea 0%, #e9f1f0 60%, #fbfbf8 100%); }
.firm-profile-sky .firm-profile-wrap { padding-top: 24px; padding-bottom: 8px; }
.firm-profile-sky .platform-breadcrumbs { margin: 0 0 20px; padding: 0; }
.firm-profile-id { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; }
.firm-profile-kind { margin: 0; color: var(--fp-teal); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.firm-profile h1 { margin: 8px 0; color: var(--fp-deep); font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 3.6vw, 52px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
.firm-profile-where { margin: 0; color: var(--fp-copy); font-size: 15px; }
.firm-profile-where b { color: var(--fp-ink); font-weight: 600; }
.firm-profile-where span { margin: 0 4px; }
.firm-profile-aka { margin: 4px 0 0; color: var(--fp-quiet); font-size: 13px; }
.firm-profile-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.firm-profile-group { margin: 0; font-size: 13px; }
.firm-profile-scale { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 26px 0 0; border-top: 1px solid #c9d9d5; }
.firm-profile-scale div { padding: 18px 24px 16px 0; }
.firm-profile-scale dd { margin: 0; color: #10292b; font-size: clamp(28px, 2.6vw, 38px); font-weight: 650; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.firm-profile-scale dt { margin-top: 8px; font-size: 13px; font-weight: 600; }
.firm-profile-scale small { display: block; margin-top: 2px; font-size: 13px; }
.firm-profile-read { display: flex; align-items: flex-start; gap: 16px; max-width: 1040px; margin: 6px 0 0; padding: 18px 0 26px; border-top: 1px solid #d6e2df; color: var(--fp-deep); font-family: Georgia, "Times New Roman", serif; font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; letter-spacing: -.008em; line-height: 1.45; text-wrap: pretty; }
.firm-profile-read svg { flex: none; width: 38px; height: 38px; margin-top: 2px; padding: 8px; border: 1px solid #c9dcd6; border-radius: 10px; background: rgba(255, 255, 255, .75); color: var(--fp-teal); }

/* Section navigation */
.firm-profile-nav { position: sticky; top: var(--fp-top, 0px); z-index: 5; border-bottom: 1px solid var(--fp-line); background: rgba(251, 251, 248, .94); backdrop-filter: blur(8px); }
.firm-profile-nav .firm-profile-wrap { display: flex; align-items: center; gap: 4px 26px; overflow-x: auto; scrollbar-width: none; }
.firm-profile .firm-profile-nav a { flex: none; padding: 14px 0 12px; border-bottom: 2px solid transparent; color: var(--fp-quiet); font-size: 13px; font-weight: 550; text-decoration: none; white-space: nowrap; }
.firm-profile .firm-profile-nav a:hover { color: var(--fp-ink); }
.firm-profile .firm-profile-nav a[aria-current="true"] { border-bottom-color: var(--fp-teal); color: var(--fp-ink); font-weight: 650; }
.firm-profile-nav-name { flex: none; margin-left: auto; color: var(--fp-ink); font-family: Georgia, "Times New Roman", serif; font-size: 15px; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.firm-profile-nav.is-stuck .firm-profile-nav-name { opacity: 1; }

/* Sections */
.firm-profile-main { padding-bottom: 56px; }
.firm-profile-section { padding: 36px 0 40px; border-top: 1px solid var(--fp-line); scroll-margin-top: calc(var(--fp-top, 0px) + 56px); }
.firm-profile-main > .firm-profile-section:first-child { border-top: 0; padding-top: 24px; }
.firm-profile-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 20px; }
.firm-profile-head p { max-width: 720px; margin: 0; color: var(--fp-quiet); font-size: 13px; }
.firm-profile-split { display: grid; gap: 32px 48px; }
.firm-profile-split > * { min-width: 0; }
.firm-profile-box { padding: clamp(16px, 2vw, 24px); border: 1px solid var(--fp-line); border-radius: 14px; background: #fff; }
.firm-profile-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; min-height: 32px; margin-bottom: 8px; }
.firm-profile-key { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; color: var(--fp-quiet); font-size: 13px; }
.firm-profile-key span { display: inline-flex; align-items: center; gap: 6px; }
.firm-profile-key span::before { width: 10px; height: 10px; border-radius: 3px; background: var(--fp-market); content: ""; }
.firm-profile-key .is-relation::before { background: var(--fp-relation); }
.firm-profile-key .is-strong::before { background: var(--fp-strong); }
.firm-profile-key .is-dot::before { border-radius: 50%; }
.firm-profile-key .is-tick::before { width: 2px; height: 12px; border-radius: 1px; background: var(--fp-gold); }
.firm-profile-key .is-plain::before { display: none; }
.firm-profile-modes { display: inline-flex; padding: 3px; border-radius: 999px; background: #eef3f1; }
.firm-profile-modes button { padding: 5px 12px; border: 0; border-radius: 999px; background: none; color: var(--fp-quiet); font: inherit; font-size: 13px; font-weight: 550; cursor: pointer; }
.firm-profile-modes button[aria-pressed="true"] { background: #fff; color: var(--fp-ink); box-shadow: 0 1px 2px rgba(21, 56, 58, .16); }
.firm-profile-plain { margin: 0; padding: 0; list-style: none; }
.firm-profile-plain li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--fp-hair); }
.firm-profile-plain li:first-child { border-top: 0; }
.firm-profile-plain small { display: block; font-size: 13px; }
.firm-profile-plain b { flex: none; font-weight: 650; font-variant-numeric: tabular-nums; }

/* Recent pursuits */
.firm-profile-tally { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0 0 14px; }
.firm-profile-tally dd { margin: 0; font-size: 24px; font-weight: 650; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.firm-profile-tally dt { margin-top: 3px; color: var(--fp-quiet); font-size: 13px; }
.firm-profile-trail { position: relative; margin: 0; padding: 0 0 0 26px; list-style: none; }
.firm-profile-trail::before { position: absolute; top: 12px; bottom: 12px; left: 7px; width: 1px; background: #cfdcd8; content: ""; }
.firm-profile-trail li { position: relative; padding: 10px 0 12px; }
.firm-profile-trail li::before { position: absolute; top: 12px; left: -26px; width: 15px; height: 15px; background: #fbfbf8 center / 15px no-repeat; content: ""; }
.firm-profile-trail li.is-bid::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%230f766e'/%3E%3Cpath d='M4.8 8.2l2.2 2.2 4.2-4.6' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.firm-profile-trail li.is-none::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.3' fill='%23fbfbf8' stroke='%237f9dab' stroke-width='1.4'/%3E%3Cpath d='M5 8h6' stroke='%237f9dab' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.firm-profile-trail li.is-wait::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.3' fill='%23fbfbf8' stroke='%23c58b28' stroke-width='1.4'/%3E%3Cpath d='M8 4.6V8l2.3 1.5' fill='none' stroke='%23c58b28' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.firm-profile-trail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.firm-profile-when { display: block; color: var(--fp-quiet); font-size: 13px; font-variant-numeric: tabular-nums; }
.firm-profile-trail strong { display: block; font-weight: 600; line-height: 1.35; }
.firm-profile-bid { flex: none; font-size: 15px; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.firm-profile-bid small { display: block; font-size: 13px; font-weight: 400; }
.firm-profile-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 6px 0 0; font-size: 13px; }
.firm-profile-steps span { padding: 2px 9px; border-radius: 999px; background: var(--fp-track); color: #5b6f70; font-weight: 550; }
.firm-profile-steps em { color: var(--fp-faint); font-style: normal; }
.firm-profile-steps .is-on { background: #edf5f2; color: var(--fp-teal); }
.firm-profile-steps .is-low { background: #dff1e4; color: #1f6b3a; }
.firm-profile-steps .is-none { border: 1px dashed #b8c8c4; background: none; }
.firm-profile-steps .is-wait { padding-left: 0; background: none; color: var(--fp-gold-ink); }

/* Contract portfolio */
.firm-profile-sorter { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; color: var(--fp-quiet); font-size: 13px; }
.firm-profile-sorter button { padding: 3px 10px; border: 1px solid transparent; border-radius: 999px; background: none; color: var(--fp-copy); font: inherit; font-size: 13px; font-weight: 550; cursor: pointer; }
.firm-profile-sorter button[aria-pressed="true"] { border-color: var(--fp-line); background: #fff; color: var(--fp-ink); }
.firm-profile-gantt { position: relative; }
.firm-profile-future { position: absolute; top: -6px; right: 0; bottom: 20px; border-radius: 0 8px 8px 0; background: #f3f6f7; }
.firm-profile-today { position: absolute; top: -8px; bottom: 18px; z-index: 0; width: 0; border-left: 1.5px dashed var(--fp-gold); pointer-events: none; }
.firm-profile-gantt-rows { position: relative; z-index: 1; }
.firm-profile-contract { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 11px 0; border-top: 1px solid var(--fp-hair); }
.firm-profile-contract:first-child { padding-top: 2px; border-top: 0; }
.firm-profile-contract strong { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.firm-profile-amount { font-weight: 650; font-variant-numeric: tabular-nums; }
.firm-profile-amount small { font-weight: 400; }
.firm-profile-contract .firm-profile-meta, .firm-profile-track { grid-column: 1 / -1; }
.firm-profile-track { position: relative; height: 12px; margin-top: 6px; border-radius: 6px; background: var(--fp-track); }
.firm-profile-track i { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: var(--fp-market); }
.firm-profile-track b { position: absolute; inset: 0 auto 0 0; border-radius: 6px 0 0 6px; background: var(--fp-relation); }
.firm-profile-gantt-axis { position: relative; display: flex; justify-content: space-between; margin: 2px 0 0; color: var(--fp-quiet); font-size: 13px; font-variant-numeric: tabular-nums; }
.firm-profile-gantt-axis em { position: absolute; top: 0; transform: translateX(-50%); color: var(--fp-gold-ink); font-style: normal; font-weight: 650; }

/* Award history: the chart of solicitation-records.css, on the open page. */
.firm-profile .award-history { margin-top: 0; }
.firm-profile .award-history-row a { color: var(--fp-ink); font-weight: 600; }

/* Bidding */
.firm-profile-chart { display: block; width: 100%; height: auto; overflow: visible; }
.firm-profile-chart text { fill: var(--fp-quiet); font-size: 13px; font-variant-numeric: tabular-nums; }
.firm-profile-chart .is-grid { stroke: var(--fp-hair); }
.firm-profile-chart .is-base { stroke: #b9cbc6; }
.firm-profile-chart .is-band { fill: rgba(15, 118, 110, .07); }
.firm-profile-chart .is-tick { stroke: var(--fp-gold); stroke-width: 2.5; stroke-linecap: round; }
.firm-profile-scatter circle { fill: var(--fp-strong); fill-opacity: .8; stroke: #fff; stroke-width: 1.5; cursor: pointer; }
.firm-profile-scatter circle.is-low { fill: var(--fp-relation); fill-opacity: .92; }
.firm-profile-scatter circle.is-on { stroke: var(--fp-gold); stroke-width: 2.5; }
.firm-profile-bidline { margin-top: 16px; padding: 14px 18px; border: 1px solid var(--fp-panel-line); border-radius: 12px; background: var(--fp-panel); font-size: 13px; }
.firm-profile-bidline p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 22px; margin: 0; }
.firm-profile-bidline strong { font-weight: 600; }
.firm-profile-bidline b { font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; }
.firm-profile-bidline span { color: var(--fp-quiet); }
.firm-profile-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 24px; border: 1px solid var(--fp-line); border-radius: 12px; background: #fff; }
.firm-profile-metrics div { padding: 14px 16px; border-top: 1px solid var(--fp-hair); }
.firm-profile-metrics div:nth-child(-n+2) { border-top: 0; }
.firm-profile-metrics div:nth-child(even) { border-left: 1px solid var(--fp-hair); }
.firm-profile-metrics dd { margin: 0; font-size: 24px; font-weight: 650; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.firm-profile-metrics dt { margin-top: 5px; font-size: 13px; font-weight: 600; }
.firm-profile-metrics small { display: block; font-size: 13px; font-weight: 400; }
.firm-profile-funnel { margin: 12px 0 0; padding: 0; list-style: none; }
.firm-profile-funnel li { padding: 7px 0; }
.firm-profile-funnel p { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: 13px; font-weight: 550; font-variant-numeric: tabular-nums; }
.firm-profile-funnel p small { margin-left: 6px; font-size: 13px; font-weight: 400; }
.firm-profile-funnel div { height: 14px; margin-top: 5px; border-radius: 4px; background: var(--fp-track); }
.firm-profile-funnel i { display: block; height: 100%; border-radius: 4px; }
.firm-profile-funnel .is-market { background: var(--fp-market); }
.firm-profile-funnel .is-strong { background: var(--fp-strong); }
.firm-profile-funnel .is-relation { background: var(--fp-teal); }
.firm-profile-funnel .is-ink { background: var(--fp-ink); }
.firm-profile-funnel .firm-profile-funnel-of { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--fp-hair); color: var(--fp-quiet); font-size: 13px; }

/* Market footprint: both measures are in the page; the section's mode shows one. */
.firm-profile-footprint[data-mode="value"] .is-count, .firm-profile-footprint[data-mode="count"] .is-value { display: none; }
.firm-profile-map svg { display: block; width: 100%; height: auto; margin-top: 10px; }
.firm-profile-map path { fill: #eef3f1; stroke: #c3d3ce; stroke-width: 1.5; stroke-linejoin: round; }
.firm-profile-map circle { fill: var(--fp-relation); fill-opacity: .3; stroke: var(--fp-relation); stroke-width: 2; }
.firm-profile-map circle.is-point { fill: var(--fp-relation); fill-opacity: 1; stroke: none; }
.firm-profile-map line { stroke: #b4c5c0; stroke-width: 1.2; }
.firm-profile-map text { fill: var(--fp-ink); font-size: 34px; font-weight: 600; }
.firm-profile-map text.is-sub { fill: var(--fp-quiet); font-size: 27px; font-weight: 500; }
.firm-profile-rank { margin: 12px 0 0; padding: 0; list-style: none; }
.firm-profile-rank li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 9px 0; border-top: 1px solid var(--fp-hair); font-size: 13px; }
.firm-profile-rank strong { font-weight: 600; }
.firm-profile-rank span { font-weight: 600; font-variant-numeric: tabular-nums; }
.firm-profile-rank small { margin-left: 6px; font-weight: 400; }
.firm-profile-rank div { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--fp-track); }
.firm-profile-rank i { display: block; height: 100%; border-radius: 3px; background: var(--fp-relation); }
.firm-profile-sizes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 10px; margin: 12px 0 0; padding: 0; list-style: none; text-align: center; }
.firm-profile-sizes li { display: grid; grid-template-rows: auto 110px auto auto; gap: 4px; font-size: 13px; }
.firm-profile-sizes b { font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.firm-profile-sizes div { display: flex; align-items: flex-end; border-bottom: 1px solid #b9cbc6; }
.firm-profile-sizes i { display: block; width: 72%; min-height: 2px; margin: 0 auto; border-radius: 4px 4px 0 0; background: var(--fp-strong); }
.firm-profile-sizes span { color: var(--fp-quiet); }
.firm-profile-sizes small { color: var(--fp-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.firm-profile-mix { display: flex; gap: 2px; height: 16px; margin-top: 14px; overflow: hidden; border-radius: 5px; }
.firm-profile-mix i, .firm-profile-mixkey i { display: block; background: #d5dfdc; }
.firm-profile-footprint .is-relation { background: var(--fp-relation); }
.firm-profile-footprint .is-market { background: var(--fp-strong); }
.firm-profile-footprint .is-deep { background: #3f5f6e; }
.firm-profile-mixkey { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13px; }
.firm-profile-mixkey li { display: flex; justify-content: space-between; gap: 12px; }
.firm-profile-mixkey li span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.firm-profile-mixkey i { width: 10px; height: 10px; border-radius: 3px; }
.firm-profile-mixkey li span:last-child { color: var(--fp-quiet); font-variant-numeric: tabular-nums; }
.firm-profile-footprint[data-mode="value"] ul.is-count, .firm-profile-footprint[data-mode="count"] ul.is-value,
.firm-profile-footprint[data-mode="value"] ol.is-count, .firm-profile-footprint[data-mode="count"] ol.is-value { display: none; }

/* Competitors */
.firm-profile-rivals { margin: 0; padding: 0; list-style: none; }
.firm-profile-rivals li { border-top: 1px solid var(--fp-hair); }
.firm-profile-rivals li:first-child { border-top: 0; }
.firm-profile-rivals summary { display: grid; grid-template-columns: 26px minmax(0, 1fr) 26px; align-items: center; gap: 4px 10px; padding: 11px 0; cursor: pointer; list-style: none; }
.firm-profile-rivals summary::-webkit-details-marker { display: none; }
.firm-profile-rival-name { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.firm-profile-rival-name strong { font-weight: 600; }
.firm-profile-rival-name strong::before { display: inline-block; width: 14px; color: var(--fp-quiet); font-weight: 400; content: "›"; transition: transform .15s; }
.firm-profile-rivals details[open] .firm-profile-rival-name strong::before { transform: rotate(90deg); }
.firm-profile-rival-name small { font-size: 13px; }
.firm-profile-rivals summary b { font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; }
.firm-profile-rivals summary b:last-child { color: #56707c; text-align: right; }
.firm-profile-versus { display: flex; gap: 2px; height: 16px; overflow: hidden; border-radius: 5px; background: var(--fp-track); }
.firm-profile-versus i { background: var(--fp-relation); }
.firm-profile-versus u { background: var(--fp-strong); }
.firm-profile-shared { margin: 0 0 14px; padding: 4px 14px 12px; border: 1px solid var(--fp-hair); border-radius: 10px; background: #fafcfb; }
.firm-profile-shared table { min-width: 520px; font-size: 13px; }
.firm-profile-shared th, .firm-profile-shared td { padding: 7px 8px; }
.firm-profile-shared table th { white-space: normal; vertical-align: bottom; }
.firm-profile-shared table th:nth-child(2) { width: 40%; }
.firm-profile-shared .is-lower { color: var(--fp-teal); font-weight: 650; }
.firm-profile-shared p { margin: 10px 0 0; font-size: 13px; }
.firm-profile-named { margin: 10px 0 0; padding: 0; list-style: none; font-size: 13px; }
.firm-profile-named li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--fp-hair); }
.firm-profile-named li > span:last-child { flex: none; color: var(--fp-quiet); font-variant-numeric: tabular-nums; white-space: nowrap; }
.firm-profile-named small { margin-left: 8px; font-size: 13px; }
.firm-profile-dots { display: inline-flex; gap: 3px; margin-right: 8px; vertical-align: middle; }
.firm-profile-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--fp-strong); }
.firm-profile-dots.is-relation i { background: var(--fp-relation); }

/* Tables */
.firm-profile-table { overflow-x: auto; }
.firm-profile-table table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14px; }
.firm-profile-table th { padding: 9px 12px; border-bottom: 1px solid #c9d6d2; color: var(--fp-quiet); font-size: 13px; font-weight: 550; text-align: left; white-space: nowrap; }
.firm-profile-table td { padding: 11px 12px; border-bottom: 1px solid var(--fp-hair); vertical-align: top; }
.firm-profile-table tbody tr:hover { background: #f6f9f8; }
.firm-profile-table .is-number { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.firm-profile-table .is-date { color: var(--fp-copy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.firm-profile-table td small { display: block; font-size: 13px; }
.firm-profile-more { margin: 14px 0 0; }
.firm-profile-people tr.is-earlier .person-avatar { background: none; box-shadow: inset 0 0 0 1px #b8c8c4; color: var(--fp-quiet); }
.firm-profile-person-note { margin-top: 4px; }
.firm-profile-has { display: inline-flex; gap: 6px; }
.firm-profile-has span { padding: 2px 8px; border: 1px solid var(--fp-line); border-radius: 6px; background: #fff; color: var(--fp-teal); font-size: 13px; font-weight: 600; }
.firm-profile-has .is-none { border-style: dashed; color: var(--fp-faint); font-weight: 400; }

/* Activity */
.firm-profile-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.firm-profile-chips button { padding: 5px 12px; border: 1px solid var(--fp-line); border-radius: 999px; background: #fff; color: var(--fp-copy); font: inherit; font-size: 13px; font-weight: 550; cursor: pointer; }
.firm-profile-chips button[aria-pressed="true"] { border-color: var(--fp-ink); background: var(--fp-ink); color: #fff; }
.firm-profile-event { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; white-space: nowrap; }
.firm-profile-event::before { width: 8px; height: 8px; border-radius: 50%; background: var(--fp-strong); content: ""; }
.firm-profile-event.is-low::before { background: var(--fp-relation); }
.firm-profile-event.is-award::before { border-radius: 2px; background: var(--fp-relation); }
.firm-profile-event.is-sign::before { width: 3px; height: 12px; border-radius: 1px; background: var(--fp-gold); }
.firm-profile-event.is-role::before { border-radius: 2px; background: #3b6fb6; }
.firm-profile-activity[data-view="dates"] .firm-profile-groups, .firm-profile-activity[data-view="groups"] .firm-profile-dates { display: none; }
.firm-profile-groups { display: grid; gap: 10px; }
.firm-profile-groups article { display: grid; gap: 6px 32px; padding: 16px 18px; border: 1px solid var(--fp-line); border-radius: 12px; background: #fff; }
.firm-profile-groups article[hidden] { display: none; }
.firm-profile-groups strong { font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.firm-profile-groups ol { margin: 0; padding: 0; list-style: none; }
.firm-profile-groups li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; align-items: baseline; gap: 12px; padding: 5px 0; font-size: 13px; }
.firm-profile-groups li + li { border-top: 1px solid var(--fp-hair); }
.firm-profile-groups .is-date { color: var(--fp-quiet); font-size: 13px; font-variant-numeric: tabular-nums; }
.firm-profile-groups b { font-weight: 600; font-variant-numeric: tabular-nums; }

@media (min-width: 900px) {
  .firm-profile-wrap { padding: 0 40px; }
  .firm-profile-groups article { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
@media (min-width: 1000px) {
  .firm-profile-split.is-5-7 { grid-template-columns: 5fr 7fr; }
  .firm-profile-split.is-7-5 { grid-template-columns: 7fr 5fr; }
  .firm-profile-split.is-8-4 { grid-template-columns: 8fr 4fr; }
  .firm-profile-split.is-2 { grid-template-columns: 1fr 1fr; }
  .firm-profile-split.is-3 { grid-template-columns: 1.15fr 1fr 1fr; }
}
@media (max-width: 1100px) { .firm-profile-nav-name { display: none; } }

/* John's review and critique pass, December 1, 2026: a white page under the
   firm image, one level of card (each section), descriptions under their
   headings, nothing smaller than 12px, darker field colours (3:1 on white),
   and 40px controls on phones. */
.firm-profile-view-page .platform-content { max-width: none; padding: 0; background: #fff; }
.firm-profile { --fp-market: #7d99a4; --fp-strong: #6f8c98; --fp-surface: #fff; }
.firm-profile .award-history { --bar: #7d99a4; --bar-strong: #6f8c98; }
.firm-profile-sky { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 58%, #fff 100%), url("/assets/firm_intelligence/firm-gradient-desktop-3ec17c32.webp") right top / cover no-repeat, #fff; }
.firm-profile-sky .firm-profile-wrap { padding-bottom: 92px; }
.firm-profile-where, .firm-profile-scale small { color: var(--fp-copy); }
.firm-profile-kindrow { display: flex; align-items: center; gap: 8px; }
.firm-profile .firm-profile-info { position: relative; }
.firm-profile-info dl { text-align: left; }

.firm-profile-nav { margin-top: -72px; border-bottom: 0; background: none; backdrop-filter: none; transition: background .2s, box-shadow .2s; }
.firm-profile-nav .firm-profile-wrap { display: block; overflow: visible; }
.firm-profile-navcard { display: flex; align-items: center; gap: 4px 26px; padding: 0 clamp(16px, 2.6vw, 36px); overflow-x: auto; scrollbar-width: none; border: 1px solid var(--fp-line); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(21, 56, 58, .04), 0 8px 24px -12px rgba(21, 56, 58, .1); }
.firm-profile-nav.is-stuck { background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 var(--fp-line); backdrop-filter: blur(8px); }
.firm-profile-nav.is-stuck .firm-profile-navcard { border-color: transparent; background: none; box-shadow: none; }

.firm-profile-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 16px; padding-bottom: 64px; }
.firm-profile-main > .firm-profile-section, .firm-profile-main > .firm-profile-section:first-child { padding: clamp(20px, 2.6vw, 34px) clamp(16px, 2.6vw, 36px) clamp(24px, 2.8vw, 38px); border: 1px solid var(--fp-line); border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(21, 56, 58, .04), 0 8px 24px -12px rgba(21, 56, 58, .1); }
.firm-profile-main > .related-companies { padding: clamp(20px, 2.6vw, 34px) clamp(16px, 2.6vw, 36px); border: 1px solid var(--fp-line); border-radius: 16px; background: #fff; }
.firm-profile-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 6px 24px; }
.firm-profile-head > h2, .firm-profile-head > p { grid-column: 1; }
.firm-profile-head > p { max-width: 760px; color: var(--fp-copy); font-size: 15px; line-height: 1.5; }
.firm-profile-head > :not(h2):not(p):not(.firm-profile-title) { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.firm-profile-title { grid-column: 1; display: flex; align-items: center; gap: 10px; }
.firm-profile-info summary { margin: 0; }
.firm-profile .firm-profile-info > dl { right: auto; left: 0; width: min(400px, 84vw); }
.firm-profile-box.is-open, .firm-profile-box { padding: 0; border: 0; border-radius: 0; background: none; }
.firm-profile-metrics { border: 0; border-block: 1px solid var(--fp-line); border-radius: 0; background: none; }
.firm-profile-metrics div:nth-child(odd) { padding-left: 0; }
.firm-profile-groups { gap: 0; }
.firm-profile-groups article { padding: 16px 0; border: 0; border-top: 1px solid var(--fp-line); border-radius: 0; background: none; }
.firm-profile-groups article:first-child { padding-top: 4px; border-top: 0; }
.firm-profile-trail li::before { background-color: #fff; }
.firm-profile-chart text, .firm-profile-gantt-axis, .firm-profile-has span, .firm-profile-bid small, .firm-profile-sizes li, .firm-profile-rank small { font-size: 12px; }
.firm-profile .award-history-axis span, .firm-profile .award-history-year { font-size: 12px; }
.firm-profile .award-history-key, .firm-profile .award-history-meta, .firm-profile .award-history-row span, .firm-profile .award-history-modes button, .firm-profile .award-history-head p { font-size: 13px; }
.firm-profile-map .is-narrow { display: none; }
.firm-profile-maplist { margin: 10px 0 0; padding: 0; list-style: none; font-size: 13px; }
.firm-profile-maplist li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--fp-hair); }
.firm-profile-maplist strong { font-weight: 600; }
.firm-profile-maplist span { color: var(--fp-quiet); font-variant-numeric: tabular-nums; }
.firm-profile-scatter.is-narrow { display: none; }
@media (max-width: 700px) {
  .firm-profile-sky { background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 62%, #fff 100%), url("/assets/firm_intelligence/firm-gradient-mobile-6cf7655c.webp"); background-position: center top; }
  .firm-profile-modes button, .firm-profile-sorter button, .firm-profile-chips button { min-height: 40px; padding-inline: 14px; }
  .firm-profile-modes { padding: 4px; }
  .firm-profile-map .is-wide, .firm-profile-scatter.is-wide { display: none; }
  .firm-profile-map svg.is-narrow, .firm-profile-scatter.is-narrow { display: block; }
  .firm-profile-map ol.is-narrow { display: block; }
}
@media (max-width: 600px) {
  .firm-profile-head { grid-template-columns: minmax(0, 1fr); }
  .firm-profile-head > :not(h2):not(p):not(.firm-profile-title) { grid-column: 1; grid-row: auto; justify-self: start; }
  .firm-profile-shared { padding: 2px 12px 10px; }
  .firm-profile-shared table { min-width: 0; }
  .firm-profile-shared thead { display: none; }
  .firm-profile-shared tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 14px; padding: 12px 0; border-bottom: 1px solid var(--fp-hair); }
  .firm-profile-shared tr:last-child { border-bottom: 0; }
  .firm-profile-shared td { display: block; padding: 0; border: 0; text-align: left; white-space: normal; }
  .firm-profile-shared td.is-number { text-align: left; white-space: normal; }
  .firm-profile-shared td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .firm-profile-shared td:nth-child(5), .firm-profile-shared td.is-number:nth-child(5) { grid-column: 2; grid-row: 1; color: var(--fp-quiet); text-align: right; }
  .firm-profile-shared td:nth-child(5)::after { content: " bidders"; }
  .firm-profile-shared td:nth-child(2) { grid-column: 1 / -1; }
  .firm-profile-shared td:nth-child(3)::before, .firm-profile-shared td:nth-child(4)::before { display: block; color: var(--fp-quiet); font-size: 12px; font-weight: 500; content: attr(data-label); }
  .firm-profile-shared tbody tr:hover { background: none; }
}
.firm-profile small { font-size: 13px; }
.firm-profile .firm-profile-sizes small, .firm-profile .firm-profile-rank small, .firm-profile .firm-profile-bid small, .firm-profile .firm-profile-named small { font-size: 12px; }
.firm-profile .platform-breadcrumbs, .firm-profile .platform-breadcrumbs a, .firm-profile .platform-breadcrumbs span, .firm-profile .person-seen { font-size: 12px; }
.firm-profile-scatter.is-narrow text { font-size: 15px; }
