:root {
  --ink: #061a1c;
  --ink-2: #08252a;
  --navy: #07192b;
  --paper: #f7f3eb;
  --paper-2: #fffaf1;
  --gold: #b08c32;
  --gold-2: #d2aa46;
  --muted: #687070;
  --line: rgba(200, 149, 60, .32);
  --white: #fff;
  --shadow: 0 22px 70px rgba(0, 0, 0, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  font-size: 14px;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 74px);
  color: var(--white);
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(5, 22, 25, .92);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .26);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.image-brand img { width: clamp(170px, 17vw, 250px); height: auto; }
.brand strong { display: block; font-family: Georgia, serif; font-size: 23px; font-weight: 500; color: var(--gold-2); line-height: 1; }
.brand small { display: block; margin-top: 5px; font-size: 11px; color: var(--white); letter-spacing: .35em; }
.brand-mark {
  width: 58px;
  height: 34px;
  border-top: 2px solid var(--gold-2);
  border-left: 2px solid var(--gold-2);
  border-right: 2px solid var(--gold-2);
  border-radius: 50% 50% 0 0;
  position: relative;
}
.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  top: -2px;
  width: 2px;
  height: 34px;
  background: var(--gold-2);
}
.brand-mark::before { left: 18px; transform: rotate(23deg); transform-origin: top; }
.brand-mark::after { right: 18px; transform: rotate(-23deg); transform-origin: top; }

.main-nav { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 28px); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.main-nav a { opacity: .92; }
.main-nav a:hover { color: var(--gold-2); }
.partner-button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  background: rgba(255,255,255,.03);
  text-transform: uppercase;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.partner-button::after { content: "↗"; margin-left: 10px; }
.language-toggle {
  border: 1px solid var(--line);
  color: var(--white);
  background: rgba(255,255,255,.04);
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 700;
}
.language-toggle span + span { margin-left: 10px; color: var(--gold-2); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: rgba(0,0,0,.22); }
.menu-button span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--white); }

.hero {
  min-height: 780px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,18,22,.98) 0%, rgba(4,18,22,.82) 36%, rgba(4,18,22,.16) 72%, rgba(4,18,22,.5) 100%),
    url("assets/visuals/hero-bridge-night.jpg") center / cover no-repeat;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(224,177,91,.12) 46%, transparent 62%);
  transform: translateX(-30%);
  animation: lightSweep 8s ease-in-out infinite;
}
@keyframes heroDrift { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.06) translateX(-1.5%); } }
@keyframes lightSweep { 0%, 42% { transform: translateX(-40%); opacity: 0; } 55% { opacity: 1; } 100% { transform: translateX(45%); opacity: 0; } }
.hero-content {
  position: relative;
  max-width: 920px;
  padding: 160px clamp(22px, 6vw, 86px) 96px;
}
.eyebrow { margin: 0 0 14px; color: var(--gold); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .11em; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: 0; line-height: .98; }
h1 { font-size: clamp(42px, 6.2vw, 84px); max-width: 900px; }
h1 span, h2 span { color: var(--gold-2); }
h2 { font-size: clamp(30px, 4vw, 54px); }
h3 { margin: 0; line-height: 1.2; }
.hero-lead { max-width: 650px; margin: 28px 0 0; font-size: clamp(16px, 1.6vw, 20px); color: rgba(255,255,255,.86); }
.actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 13px;
  cursor: pointer;
}
.button::after { content: "→"; margin-left: 14px; font-size: 18px; }
.button.primary { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #071213; border-color: transparent; }
.button.ghost { color: var(--white); background: rgba(0,0,0,.18); }

.metrics {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  padding: 0;
  background: linear-gradient(135deg, #062923, #08202f);
  color: var(--white);
  border-block: 1px solid var(--line);
}
.metric {
  min-height: 170px;
  padding: 24px 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-content: center;
  justify-items: start;
  text-align: left;
  border-left: 0;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: #061a1c;
  box-shadow: inset 1px 0 0 rgba(224,177,91,.18);
}
.metric:first-child { box-shadow: none; }
.metric::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,20,20,.82), rgba(3,20,20,.58));
  z-index: 0;
}
.metric:nth-child(1) { background-image: url("assets/metrics/capital-v10.jpg"); }
.metric:nth-child(2) { background-image: url("assets/metrics/companies-v10.jpg"); }
.metric:nth-child(3) { background-image: url("assets/metrics/projects-v10.jpg"); }
.metric:nth-child(4) { background-image: url("assets/metrics/partners-v10.jpg"); }
.metric:nth-child(5) { background-image: url("assets/metrics/experience-v10.jpg"); }
.metric:nth-child(6) { background-image: url("assets/metrics/sectors-v10.jpg"); }
.metric > * { position: relative; z-index: 1; }
.metric b { font-family: Georgia, serif; font-size: clamp(26px, 2.6vw, 40px); color: var(--gold-2); font-weight: 500; line-height: .95; text-shadow: 0 6px 22px rgba(0,0,0,.35); }
.metric > span:not(.metric-icon) { max-width: 160px; font-size: 10.5px; color: rgba(255,255,255,.78); grid-column: 2; }
.metric-icon, .process-icon {
  width: 66px;
  height: 66px;
  color: var(--gold-2);
  display: inline-grid;
  place-items: center;
}
.metric-icon svg, .process-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.metric-icon { grid-row: 1 / span 2; width: 66px; height: 66px; }

.section { padding: clamp(70px, 8vw, 118px) clamp(20px, 5vw, 72px); }
.section-inner { max-width: 1440px; margin: 0 auto; }
.two-col { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.section p { font-size: 15px; color: #334142; }
.dark { background: radial-gradient(circle at top left, #0d3a31, #061a1c 48%, #07192b); color: var(--white); }
.dark p { color: rgba(255,255,255,.76); }
.dark h2, .dark h3 { color: var(--white); }

.about {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247,243,235,.98) 0%, rgba(247,243,235,.94) 48%, rgba(247,243,235,.78) 65%, rgba(247,243,235,.18) 100%),
    url("assets/visuals/about-building.jpg") right center / auto 100% no-repeat;
}
.about-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, .75fr); gap: clamp(34px, 6vw, 86px); align-items: start; }
.about-copy { max-width: 700px; }
.about-more { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s ease, opacity .35s ease; }
.about-more.is-open { max-height: 1200px; opacity: 1; }
.about-points {
  list-style: none;
  padding: 84px 0 0;
  margin: 0;
  display: grid;
  gap: 18px;
  font-weight: 800;
  color: #243334;
}
.about-points li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: center;
}
.about-points li::before {
  content: "✓";
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  font-weight: 900;
}
.button.outline { background: transparent; color: inherit; }
.button.dark-text { color: var(--ink); background: rgba(255,255,255,.34); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(6,26,28,.12); border: 1px solid rgba(6,26,28,.12); }
.feature-grid article, .sector-grid article, .article-grid article {
  background: rgba(255,255,255,.72);
  padding: 28px;
  min-height: 150px;
}
.feature-grid span, .sector-grid span { color: var(--gold); font-weight: 900; }
.feature-grid h3 { margin-top: 12px; font-size: 20px; }

.process {
  background: radial-gradient(circle at top left, #0d3a31, #061a1c 48%, #07192b);
}
.process-line { margin-top: 52px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.process-line::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--gold);
  opacity: .26;
}
.process-line article {
  padding: 0 18px 18px;
  min-height: 238px;
  text-align: center;
  position: relative;
}
.process-line article > * { position: relative; z-index: 1; }
.process-line b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #07192b;
  color: var(--gold-2);
  font-size: 15px;
  font-family: inherit;
  font-weight: 800;
}
.process-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 16px;
  display: inline-grid;
  place-items: center;
  background: none;
}
.process-icon svg { display: block; }
.process-line h3 { margin: 0 auto 9px; font-size: 15px; font-family: inherit; font-weight: 800; line-height: 1.2; max-width: 210px; }
.process-line h3::after { display: none; }
.process-line p { font-size: 12px; max-width: 215px; margin-inline: auto; color: rgba(255,255,255,.8); }

.section-heading { display: grid; grid-template-columns: minmax(0, .85fr) minmax(280px, .65fr); gap: 40px; align-items: end; margin-bottom: 42px; }
.companies-heading, .team-heading { grid-template-columns: 1fr auto; }
.section-lead { max-width: 920px; margin: 12px 0 0; color: #5f6969; font-size: 14px !important; }
.companies { background: var(--paper-2); }
.company-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding: 4px 4px 16px;
}
.company-grid:not(.is-expanded) .company-card.is-extra { display: none; }
.company-card {
  min-height: 386px;
  padding: 0 0 26px;
  background: #fffdf8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  box-shadow: 0 14px 38px rgba(6,26,28,.1);
}
.company-card strong { font-family: Georgia, serif; font-size: 24px; line-height: 1.05; color: var(--ink); }
.company-logo {
  height: 152px;
  display: grid;
  place-items: center;
  padding: 0;
  margin-bottom: 0;
  background: linear-gradient(135deg, #07192b, #071217);
  border-bottom: 1px solid rgba(6,26,28,.12);
}
.company-logo img { width: 100%; height: 100%; object-fit: cover; }
.company-logo img[src$=".svg"],
.company-logo img[src*="das.png"] {
  object-fit: contain;
  padding: 28px;
  background: #fffdf8;
}
.company-logo img[src*="capital-bridge-wierzytelnosci"] {
  background: #07192b;
  padding: 18px 20px;
}
.company-logo strong { color: var(--gold-2); text-align: center; }
.company-body { padding: 24px 24px 0; }
.company-body h3 { min-height: 52px; font-size: 19px; }
.subbrand-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin: 10px 0 16px;
}
.subbrand-strip a,
.modal-brands a {
  display: inline-flex;
  align-items: center;
}
.subbrand-strip img {
  max-width: 86px;
  max-height: 38px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.company-card p { margin: 0 0 22px; font-size: 15px; color: #4f5b5b; }
.company-card button {
  align-self: flex-start;
  margin-left: 24px;
  border: 0;
  background: none;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 900;
  cursor: pointer;
  padding: 0;
}

.sector-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 36px; }
.sector-grid article {
  min-height: 292px;
  position: relative;
  overflow: hidden;
  padding: 28px;
  display: grid;
  grid-template-rows: 72px minmax(72px, auto) 1fr;
  align-content: end;
  color: var(--white);
  background-color: #061a1c;
  background-size: cover;
  background-position: center;
}
.sector-grid article::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,16,19,.1), rgba(3,16,19,.94)); }
.visual-sectors article::before { display: none; }
.sector-grid article > * { position: relative; z-index: 1; }
.sector-grid .metric-icon { width: 58px; height: 58px; align-self: end; }
.sector-grid h3 { color: var(--gold-2); margin: 14px 0 0; font-size: 18px; align-self: start; }
.sector-grid p { font-size: 13px; margin: 0; align-self: start; }
.sector-realestate { background-image: linear-gradient(180deg, rgba(3,16,19,.08), rgba(3,31,33,.9)), url("assets/investment-sectors/real-estate.webp"); }
.sector-senior { background-image: linear-gradient(180deg, rgba(3,16,19,.08), rgba(3,31,33,.9)), url("assets/investment-sectors/senior-living.webp"); }
.sector-finance { background-image: linear-gradient(180deg, rgba(3,16,19,.08), rgba(3,31,33,.9)), url("assets/investment-sectors/business-financing.webp"); }
.sector-energy { background-image: linear-gradient(180deg, rgba(3,16,19,.08), rgba(3,31,33,.9)), url("assets/investment-sectors/energy.webp"); }
.sector-brands { background-image: linear-gradient(180deg, rgba(3,16,19,.08), rgba(3,31,33,.9)), url("assets/investment-sectors/consumer-brands-hospitality.webp"); }

.team { background: #fbf7ee; }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.person-card { background: #fffdf8; border: 1px solid rgba(6,26,28,.12); overflow: hidden; box-shadow: 0 12px 34px rgba(6,26,28,.06); cursor: pointer; }
.team-grid:not(.is-expanded) .person-card.is-hidden { display: none; }
.person-photo { aspect-ratio: 4 / 5; background: #d7d7d7; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person-body { padding: 16px 18px 20px; }
.person-body strong { display: block; font-size: 15px; }
.person-body span { color: var(--muted); font-size: 12px; }

.knowledge { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.news-layout { display: grid; grid-template-columns: 2.4fr minmax(260px, .7fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.news-intro p { max-width: 390px; color: rgba(255,255,255,.8); }
.gold-border { border-color: var(--gold); margin-top: 18px; }
.news-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 26px); }
.news-list:not(.is-expanded) .news-card.is-extra { display: none; }
.news-card { color: var(--white); }
.news-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: none;
  margin-bottom: 22px;
}
.news-source {
  display: block;
  min-height: 18px;
  margin-bottom: 8px;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.news-card time {
  display: block;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
}
.news-card h3 {
  font-size: clamp(17px, 1.4vw, 22px);
  color: var(--white);
  margin-bottom: 16px;
  min-height: 84px;
}
.news-card p {
  color: rgba(255,255,255,.76);
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 18px;
}
.news-card button {
  margin-top: auto;
  border: 0;
  padding: 0;
  background: none;
  color: var(--gold-2);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
}
.news-card button::after { content: "→"; margin-left: 10px; }

.cta {
  padding: 0 clamp(20px, 5vw, 72px);
  color: var(--white);
  background: radial-gradient(circle at 15% 20%, rgba(21,91,76,.52), transparent 34%), linear-gradient(110deg, #041114, #062923 48%, #07192b);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-strip {
  min-height: 156px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: end;
  padding-block: 28px;
}
.cta-strip h2 {
  color: var(--gold-2);
  font-size: clamp(30px, 3.4vw, 46px);
  white-space: nowrap;
}
.cta-strip > div:first-child {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 10px 34px;
  align-items: start;
}
.cta-strip > div:first-child h2 { grid-column: 1 / -1; }
.cta-strip p {
  margin: 0;
  max-width: 520px;
  color: rgba(255,255,255,.82);
  font-size: 12.5px;
}
.contact-layout { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(36px, 7vw, 100px); align-items: start; }
.cta p { color: rgba(255,255,255,.8); }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 28px; background: rgba(255,255,255,.08); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.contact-form label { display: grid; gap: 7px; color: rgba(255,255,255,.9); font-weight: 700; font-size: 13px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.92);
  color: var(--ink);
  padding: 14px 15px;
  font: inherit;
}
.contact-form label:nth-child(4), .checkbox, .contact-form button, .form-note { grid-column: 1 / -1; }
.checkbox { display: flex !important; grid-template-columns: auto 1fr; align-items: start; }
.checkbox input { width: auto; margin-top: 4px; }
.form-note { margin: 0; font-size: 13px !important; }

.site-footer { padding: 60px clamp(20px, 5vw, 72px) 24px; color: rgba(255,255,255,.78); background: #041114; }
.footer-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr .7fr 1fr 1fr; gap: 44px; }
.site-footer h3 { color: var(--gold-2); text-transform: uppercase; font-size: 13px; letter-spacing: .08em; }
.site-footer a { display: block; margin: 7px 0; color: rgba(255,255,255,.75); }
.footer-brand { margin-bottom: 18px; }
.legal { max-width: 1440px; margin: 42px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; font-size: 13px; }
.legal button {
  border: 0;
  padding: 0;
  background: none;
  color: rgba(255,255,255,.72);
  font: inherit;
  cursor: pointer;
}
.legal button:hover { color: var(--gold-2); }

.company-modal {
  width: min(900px, calc(100vw - 32px));
  max-height: min(90vh, 900px);
  overflow: auto;
  border: 1px solid var(--line);
  padding: 0;
  background: #fffdf8;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.company-modal::backdrop { background: rgba(2, 10, 12, .7); backdrop-filter: blur(6px); }
.modal-close { position: absolute; top: 12px; right: 14px; width: 42px; height: 42px; border: 1px solid rgba(6,26,28,.15); background: #fff; cursor: pointer; font-size: 28px; }
.company-modal .modal-close {
  border-color: var(--company-header-fg, #e0b15b);
  background: var(--company-header-bg, #061a1c);
  color: var(--company-header-fg, #e0b15b);
}
.modal-body { padding: 46px; }
.modal-body h3 { font-family: Georgia, serif; font-size: 42px; margin-bottom: 18px; }
.modal-body p { color: #394849; }
.company-modal-header {
  min-height: 124px;
  padding: 30px 88px 30px 46px;
  display: grid;
  grid-template-columns: 1fr minmax(120px, 180px);
  gap: 28px;
  align-items: center;
  color: var(--company-header-fg, var(--white));
  background: var(--company-header-bg, #061a1c);
  border-bottom: 3px solid var(--company-header-fg, var(--gold));
}
.company-modal-header .eyebrow { margin-bottom: 8px; color: currentColor; }
.company-modal-header h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
}
.company-modal-logo {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(255,255,255,.12);
}
.company-modal-logo img {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}
.company-modal-content { padding: 38px 46px 46px; }
.company-modal-content p {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.62;
}
.modal-brands { display: flex; align-items: center; gap: 18px; margin: 0 0 22px; }
.modal-brands img { max-width: 140px; max-height: 58px; object-fit: contain; }
.social-row { display: flex; gap: 10px; margin-top: 24px; }
.social-row a {
  min-width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 900;
}
.social-row svg, .share-row svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-row a[href="#"] { cursor: default; }
.person-modal-body { display: grid; grid-template-columns: 320px 1fr; gap: 36px; padding: 46px; align-items: start; }
.person-modal-body img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.person-modal-body h3, .partner-form h3 { font-family: Georgia, serif; font-size: 42px; margin: 0 0 18px; }
.partner-form { padding: 46px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.partner-form .eyebrow, .partner-form h3, .partner-form label:nth-of-type(5), .partner-form label:nth-of-type(6), .partner-form button, .partner-form .form-note { grid-column: 1 / -1; }
.partner-form label { display: grid; gap: 7px; font-weight: 800; font-size: 13px; }
.partner-form .rodo {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  color: #415052;
  font-weight: 600;
  line-height: 1.45;
}
.partner-form .rodo input { width: auto; margin-top: 3px; }
.partner-form input, .partner-form select, .partner-form textarea {
  width: 100%;
  border: 1px solid rgba(6,26,28,.18);
  background: #fff;
  color: var(--ink);
  padding: 14px 15px;
  font: inherit;
}
.legal-modal .modal-body { max-height: min(78vh, 760px); overflow: auto; }
.legal-modal .modal-body h3 { font-family: Georgia, serif; font-size: 42px; margin: 0 0 18px; }
.article-date { display: block; margin-bottom: 16px; color: var(--gold); font-weight: 800; }
.article-original-title, .article-author { color: #5c6869; font-size: 14px; margin-top: -6px; }
.article-hero { width: 100%; max-height: 300px; object-fit: cover; margin: 18px 0 24px; }
.article-modal h4 { font-family: Georgia, serif; font-size: 24px; margin: 28px 0 10px; }
.article-external { display: inline-flex; margin-top: 14px; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 24px; }
.share-row a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--gold);
}

@media (max-width: 1100px) {
  .metrics, .process-line, .company-grid, .sector-grid, .team-grid, .news-list { grid-template-columns: repeat(2, 1fr); }
  .two-col, .section-heading, .contact-layout, .footer-grid, .about-layout, .news-layout, .cta-strip { grid-template-columns: 1fr; }
  .cta-strip > div:first-child { grid-template-columns: 1fr; }
  .cta-strip h2 { white-space: normal; }
  .cta-strip p { max-width: 760px; }
  .about-points { padding-top: 0; }
  .hero { min-height: 700px; }
  .cta-strip { padding: 34px 0; }
}

@media (max-width: 820px) {
  .menu-button { display: block; }
  .main-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    background: rgba(5,22,25,.98);
    border: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .hero { min-height: 680px; }
  .hero-content { padding-top: 126px; }
  .metrics, .sector-grid, .team-grid, .news-list, .feature-grid, .contact-form, .partner-form, .person-modal-body { grid-template-columns: 1fr; }
  .metric { min-height: 220px; }
  .process-line { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .process-line::before { display: none; }
  .process-line article { min-width: 260px; scroll-snap-align: start; padding-top: 0; }
  .process-line article::after { display: none; }
  .company-modal-header { grid-template-columns: 1fr; padding-right: 64px; }
  .company-modal-logo { max-width: 190px; }
  .company-modal-content p { text-align: left; }
  .company-grid { grid-template-columns: 1fr; }
  .legal { flex-direction: column; }
}

/* Final content updates requested for the Capital Bridge version. */
.hero .eyebrow { display: none; }
.hero-lead { font-size: clamp(14px, 1.35vw, 17px); }

.company-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.company-grid:not(.is-expanded) .company-card.is-extra { display: flex; }
.company-card.is-featured {
  grid-column: 3 / 4;
}
.company-logo img[src*="capital-bridge-management"],
.company-logo img[src*="capital-bridge-wierzytelnosci"],
.company-logo img[src*="homeprime.png"],
.company-logo img[src*="origin-revital.png"] {
  object-fit: cover;
  padding: 0;
}
.company-logo img[src*="origin-investments.svg"] {
  object-fit: contain;
  padding: 26px;
  background: #111;
}
.company-logo img[src*="das.png"] {
  object-fit: contain;
  padding: 30px;
  background: #fff;
}
.company-modal-header {
  border-bottom: 0;
}
.company-modal-logo {
  background: transparent;
  padding: 0;
}
.company-modal-logo img {
  max-height: 82px;
}

.visual-sectors article::before {
  display: block;
  background: linear-gradient(180deg, rgba(4,18,20,.16) 0%, rgba(5,24,27,.58) 48%, rgba(3,16,19,.95) 100%);
}

.team-grid {
  grid-template-columns: repeat(5, 1fr);
}
.team-grid:not(.is-expanded) {
  grid-template-columns: repeat(3, minmax(0, 220px));
  justify-content: center;
}
.team-grid:not(.is-expanded) .person-card.is-hidden {
  display: none;
}
.team-grid.is-expanded .person-card.is-hidden {
  display: block;
}

.cta-strip p:first-of-type {
  font-size: 14px;
  color: rgba(255,255,255,.78);
}

.about-copy > p:not(.eyebrow),
.about-more p {
  text-align: justify;
  text-justify: inter-word;
}

.companies [data-companies-more] {
  display: none !important;
}

.company-logo img[src*="origin-investments.png"],
.company-logo img[src*="origin-revital.png"],
.company-logo img[src*="das.png"] {
  object-fit: contain;
  padding: 24px;
  background: #fff;
}

.company-logo img[src*="homeprime.png"] {
  object-fit: cover;
  padding: 0;
  background: #073f34;
}

.company-logo img[src*="capital-bridge-management"],
.company-logo img[src*="capital-bridge-wierzytelnosci"] {
  object-fit: cover;
  padding: 0;
}

.team-grid.is-expanded .person-card:nth-child(1) { grid-column: 2 / 3; }
.team-grid.is-expanded .person-card:nth-child(2) { grid-column: 3 / 4; }
.team-grid.is-expanded .person-card:nth-child(3) { grid-column: 4 / 5; }

@media (max-width: 1100px) {
  .company-card.is-featured { grid-column: auto; }
  .team-grid:not(.is-expanded) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-grid.is-expanded .person-card:nth-child(1),
  .team-grid.is-expanded .person-card:nth-child(2),
  .team-grid.is-expanded .person-card:nth-child(3) {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  .company-grid,
  .team-grid:not(.is-expanded) {
    grid-template-columns: 1fr;
  }
  .about-copy > p:not(.eyebrow),
  .about-more p {
    text-align: left;
  }
}

@media (min-width: 1101px) {
  .company-card.is-featured {
    grid-column: 5 / 6;
    grid-row: 1;
  }
  .company-grid .company-card:nth-child(2) { grid-column: 1 / 2; grid-row: 2; }
  .company-grid .company-card:nth-child(3) { grid-column: 2 / 3; grid-row: 2; }
  .company-grid .company-card:nth-child(4) { grid-column: 3 / 4; grid-row: 2; }
  .company-grid .company-card:nth-child(5) { grid-column: 4 / 5; grid-row: 2; }
  .company-grid .company-card:nth-child(6) { grid-column: 5 / 6; grid-row: 2; }
  .company-grid .company-card:nth-child(7) { grid-column: 1 / 2; grid-row: 3; }
  .company-grid .company-card:nth-child(8) { grid-column: 2 / 3; grid-row: 3; }
  .company-grid .company-card:nth-child(9) { grid-column: 3 / 4; grid-row: 3; }
  .company-grid .company-card:nth-child(10) { grid-column: 4 / 5; grid-row: 3; }
  .company-grid .company-card:nth-child(11) { grid-column: 5 / 6; grid-row: 3; }

  .team-grid.is-expanded {
    grid-template-columns: repeat(5, minmax(0, 220px));
    justify-content: center;
  }
  .team-grid.is-expanded .person-card:nth-child(1) { grid-column: 2 / 3; grid-row: 1; }
  .team-grid.is-expanded .person-card:nth-child(2) { grid-column: 3 / 4; grid-row: 1; }
  .team-grid.is-expanded .person-card:nth-child(3) { grid-column: 4 / 5; grid-row: 1; }
  .team-grid.is-expanded .person-card:nth-child(4) { grid-column: 1 / 2; grid-row: 2; }
  .team-grid.is-expanded .person-card:nth-child(5) { grid-column: 2 / 3; grid-row: 2; }
  .team-grid.is-expanded .person-card:nth-child(6) { grid-column: 3 / 4; grid-row: 2; }
  .team-grid.is-expanded .person-card:nth-child(7) { grid-column: 4 / 5; grid-row: 2; }
  .team-grid.is-expanded .person-card:nth-child(8) { grid-column: 5 / 6; grid-row: 2; }
  .team-grid.is-expanded .person-card:nth-child(9) { grid-column: 1 / 2; grid-row: 3; }
  .team-grid.is-expanded .person-card:nth-child(10) { grid-column: 2 / 3; grid-row: 3; }
  .team-grid.is-expanded .person-card:nth-child(11) { grid-column: 3 / 4; grid-row: 3; }
  .team-grid.is-expanded .person-card:nth-child(12) { grid-column: 4 / 5; grid-row: 3; }
  .team-grid.is-expanded .person-card:nth-child(13) { grid-column: 5 / 6; grid-row: 3; }
}

.company-modal-header {
  grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  padding: 24px 72px 24px 46px;
}

.company-modal-logo {
  align-self: stretch;
  justify-self: end;
  min-height: 96px;
  width: min(300px, 100%);
  background: transparent;
}

.company-modal-logo img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center right;
}

@media (max-width: 820px) {
  .company-modal-header {
    grid-template-columns: 1fr;
    padding: 28px 64px 24px 28px;
  }
  .company-modal-logo {
    justify-self: start;
    min-height: 78px;
    width: min(240px, 100%);
  }
  .company-modal-logo img {
    object-position: center left;
  }
}

/* Local preview corrections requested on 2026-07-29. */
.metric:nth-child(1) b,
.metric:nth-child(3) b,
.metric:nth-child(5) b {
  font-family: inherit;
  font-size: clamp(15px, 1.1vw, 19px);
  line-height: 1.16;
  font-weight: 800;
  max-width: 190px;
  letter-spacing: .01em;
}

.process.dark {
  background:
    linear-gradient(90deg, rgba(3, 42, 35, .76), rgba(5, 23, 39, .82)),
    url("assets/visuals/process-section-bg-final.png") center / cover no-repeat !important;
}

.sectors.dark {
  background:
    linear-gradient(90deg, rgba(3, 42, 35, .72), rgba(5, 23, 39, .78)),
    url("assets/visuals/sectors-section-bg-final.png") center / cover no-repeat !important;
}

.knowledge.dark {
  background:
    linear-gradient(90deg, rgba(3, 42, 35, .74), rgba(5, 23, 39, .8)),
    url("assets/visuals/knowledge-section-bg-final.png") center / cover no-repeat !important;
}

.cta-strip h2 {
  font-size: clamp(27px, 3vw, 48px);
  line-height: 1.08;
}

@media (max-width: 760px) {
  .metric:nth-child(1) b,
  .metric:nth-child(3) b,
  .metric:nth-child(5) b {
    font-size: 17px;
    max-width: 220px;
  }

  .cta-strip h2 {
    font-size: 30px;
  }
}

/* Final requested copy and background updates, scoped to existing sections. */
.metric > span:not(.metric-icon):empty {
  display: none;
}

.metric b {
  max-width: 210px;
}

.process.dark {
  background:
    linear-gradient(90deg, rgba(3, 29, 26, .66), rgba(5, 20, 34, .82)),
    url("assets/visuals/process-section-bg-final.png") center / cover no-repeat;
}

.sectors.dark {
  background:
    linear-gradient(90deg, rgba(3, 42, 35, .78), rgba(5, 23, 39, .82)),
    url("assets/visuals/sectors-section-bg-final.png") center / cover no-repeat;
}

.knowledge.dark {
  background:
    linear-gradient(90deg, rgba(3, 42, 35, .78), rgba(5, 23, 39, .84)),
    url("assets/visuals/knowledge-section-bg-final.png") center / cover no-repeat;
}

.knowledge .news-intro .eyebrow {
  display: none;
}

.company-logo img[src*="homeprime-final"] {
  object-fit: contain;
  padding: 24px;
  background: #fff;
}

.company-modal-logo img[src*="homeprime-final"] {
  object-fit: contain;
  background: #fff;
}

.companies {
  background:
    linear-gradient(180deg, rgba(251,247,238,.78), rgba(251,247,238,.82)),
    url("assets/visuals/companies-section-bg.webp") center / cover no-repeat;
}

.team {
  background:
    linear-gradient(180deg, rgba(251,247,238,.9), rgba(251,247,238,.86)),
    url("assets/visuals/team-section-bg.webp") center / cover no-repeat;
}

.company-card:has(.company-logo img[src*="origin-investments.png"]) .company-logo,
.company-card:has(.company-logo img[src*="origin-revital.png"]) .company-logo,
.company-card:has(.company-logo img[src*="das.png"]) .company-logo {
  border-bottom: 0;
}

.company-modal-logo img[src*="capital-bridge-investments"],
.company-modal-logo img[src*="capital-bridge-consulting"],
.company-modal-logo img[src*="capital-bridge-factoring"],
.company-modal-logo img[src*="capital-bridge-energy"] {
  object-fit: cover;
}

/* Requested final visual corrections: keep the restored company card system,
   but make only the lead CBI card horizontal and refresh section backdrops. */
.companies {
  background:
    linear-gradient(90deg, rgba(251,247,238,.18) 0%, rgba(251,247,238,.36) 34%, rgba(251,247,238,.84) 67%, rgba(251,247,238,.96) 100%),
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(251,247,238,.82)),
    url("assets/visuals/companies-section-bg.webp") left center / cover no-repeat;
}

.team {
  background:
    linear-gradient(90deg, rgba(251,247,238,.88) 0%, rgba(251,247,238,.68) 45%, rgba(251,247,238,.36) 100%),
    linear-gradient(180deg, rgba(255,255,255,.28), rgba(251,247,238,.78)),
    url("assets/visuals/team-section-bg.webp") center / cover no-repeat;
}

.company-modal-logo {
  background: var(--company-header-bg, transparent);
  overflow: hidden;
}

.company-modal-logo img[src*="capital-bridge-investments"],
.company-modal-logo img[src*="capital-bridge-consulting"],
.company-modal-logo img[src*="capital-bridge-factoring"],
.company-modal-logo img[src*="capital-bridge-energy"] {
  object-fit: contain;
  background: var(--company-header-bg, transparent);
  clip-path: inset(0 5px 0 0);
}

@media (min-width: 1101px) {
  .company-card.is-featured {
    grid-column: 3 / 6;
    grid-row: 1;
    min-height: 193px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
  }

  .company-card.is-featured > div {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) minmax(0, 1.35fr);
    align-items: stretch;
    min-width: 0;
  }

  .company-card.is-featured .company-logo {
    height: auto;
    min-height: 193px;
    margin: 0;
    border-bottom: 0;
  }

  .company-card.is-featured .company-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 26px;
  }

  .company-card.is-featured .company-body h3 {
    min-height: 0;
    margin-bottom: 10px;
    font-size: 22px;
  }

  .company-card.is-featured .company-body p {
    margin: 0;
    font-size: 14px;
  }

  .company-card.is-featured button {
    align-self: center;
    justify-self: end;
    margin: 0 24px 0 0;
    white-space: nowrap;
  }
}

/* Last local preview override: only requested readability and background fixes. */
.metric:nth-child(1) b,
.metric:nth-child(3) b,
.metric:nth-child(5) b {
  font-family: inherit;
  font-size: clamp(15px, 1.1vw, 19px) !important;
  line-height: 1.16;
  font-weight: 800;
  max-width: 190px;
}

.process.dark {
  background:
    linear-gradient(90deg, rgba(3, 42, 35, .76), rgba(5, 23, 39, .82)),
    url("assets/visuals/process-section-bg-final.png") center / cover no-repeat !important;
}

.sectors.dark {
  background:
    linear-gradient(90deg, rgba(3, 42, 35, .72), rgba(5, 23, 39, .78)),
    url("assets/visuals/sectors-section-bg-final.png") center / cover no-repeat !important;
}

.knowledge.dark {
  background:
    linear-gradient(90deg, rgba(3, 42, 35, .74), rgba(5, 23, 39, .8)),
    url("assets/visuals/knowledge-section-bg-final.png") center / cover no-repeat !important;
}

.cta-strip h2 {
  font-size: clamp(27px, 3vw, 48px) !important;
  line-height: 1.08;
}

@media (max-width: 760px) {
  .metric:nth-child(1) b,
  .metric:nth-child(3) b,
  .metric:nth-child(5) b {
    font-size: 17px !important;
    max-width: 220px;
  }

  .cta-strip h2 {
    font-size: 30px !important;
  }
}

/* Final local preview refinements requested on 2026-07-29. */
.metric:nth-child(1) b,
.metric:nth-child(3) b,
.metric:nth-child(5) b {
  font-size: clamp(12px, .88vw, 15px) !important;
  line-height: 1.22;
  max-width: 176px;
  align-self: center;
  transform: translateY(9px);
}

.process.dark {
  background:
    linear-gradient(90deg, rgba(3, 42, 35, .58), rgba(5, 23, 39, .64)),
    url("assets/visuals/process-section-bg-final.png") center / cover no-repeat !important;
}

.sectors.dark {
  background:
    linear-gradient(90deg, rgba(3, 42, 35, .54), rgba(5, 23, 39, .62)),
    url("assets/visuals/sectors-section-bg-final.png") center / cover no-repeat !important;
}

.knowledge.dark {
  background:
    linear-gradient(90deg, rgba(3, 42, 35, .56), rgba(5, 23, 39, .64)),
    url("assets/visuals/knowledge-section-bg-final.png") center / cover no-repeat !important;
}

.cta-strip h2 {
  font-size: clamp(21px, 2.1vw, 34px) !important;
}

.site-footer .footer-brand img {
  width: 130%;
  max-width: 270px;
}

.site-footer .footer-grid > div:first-child p {
  font-size: 11.25px !important;
  line-height: 1.58;
  max-width: 330px;
}

.footer-brand-column {
  display: flex;
  flex-direction: column;
}

.footer-linkedin {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-top: auto;
  margin-bottom: 10px;
  border: 0;
  background: transparent;
  transition: transform .2s ease, filter .2s ease, opacity .2s ease;
}

.footer-linkedin img {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.footer-linkedin:hover,
.footer-linkedin:focus-visible {
  transform: scale(1.05);
  filter: brightness(1.12);
  opacity: .96;
  outline: 1px solid rgba(200, 165, 83, .55);
  outline-offset: 3px;
}

.footer-linkedin:hover {
  outline: none;
}

@media (min-width: 1101px) {
  .company-card.is-featured {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 152px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .company-card.is-featured .featured-company-copy,
  .company-card.is-featured .company-logo {
    min-height: 152px;
    background: #fffdf8;
    box-shadow: 0 14px 38px rgba(6,26,28,.1);
  }

  .company-card.is-featured .featured-company-copy-left {
    grid-column: 1 / 3;
    display: grid;
    align-items: center;
    padding: 24px 28px;
  }

  .company-card.is-featured .company-logo {
    grid-column: 3 / 4;
    height: 152px;
    margin: 0;
    border-bottom: 0;
    padding: 0;
  }

  .company-card.is-featured .company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .company-card.is-featured .featured-company-copy-right {
    grid-column: 4 / 6;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 22px;
    align-content: center;
    align-items: center;
    padding: 20px 26px;
  }

  .company-card.is-featured .featured-company-copy p {
    margin: 0;
    color: #4f5b5b;
    font-size: 14px;
    line-height: 1.55;
  }

  .company-card.is-featured .featured-company-copy-right h3 {
    grid-column: 1 / -1;
    margin: 0;
    font-family: Georgia, serif;
    font-size: 21px;
    line-height: 1.05;
    color: var(--ink);
  }

  .company-card.is-featured button {
    margin: 0;
    align-self: end;
    justify-self: end;
    white-space: nowrap;
  }
}

@media (max-width: 1100px) {
  .company-card.is-featured {
    min-height: 386px;
    padding: 0 0 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fffdf8;
    box-shadow: 0 14px 38px rgba(6,26,28,.1);
  }

  .company-card.is-featured .featured-company-copy-left {
    display: none;
  }

  .company-card.is-featured .company-logo {
    height: 152px;
    min-height: 0;
    margin: 0;
  }

  .company-card.is-featured .featured-company-copy-right {
    padding: 24px 24px 0;
  }

  .company-card.is-featured .featured-company-copy-right h3 {
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.05;
    min-height: 52px;
    color: var(--ink);
  }

  .company-card.is-featured .featured-company-copy-right p {
    margin: 0 0 22px;
    font-size: 15px;
    color: #4f5b5b;
  }

  .company-card.is-featured button {
    margin: 0;
  }
}

@media (max-width: 760px) {
  .metric:nth-child(1) b,
  .metric:nth-child(3) b,
  .metric:nth-child(5) b {
    font-size: 15px !important;
    max-width: 240px;
    transform: translateY(4px);
  }

  .cta-strip h2 {
    font-size: 25px !important;
  }

  .site-footer .footer-brand img {
    width: 100%;
    max-width: 230px;
  }
}

/* CBI lead card fine-tuning: same logo scale as regular cards, two-line left copy. */
@media (min-width: 1101px) {
  .company-card.is-featured {
    min-height: 152px;
  }

  .company-card.is-featured .company-logo {
    grid-column: 3 / 4;
    width: 100%;
    height: 152px;
    min-height: 152px;
    align-self: stretch;
    overflow: hidden;
    background: #202545 !important;
    position: relative;
    border: 0 !important;
    line-height: 0;
  }

  .company-card.is-featured .company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center;
    padding: 0 !important;
    background: #202545 !important;
    display: block;
    margin: 0;
  }

  .company-card.is-featured .company-logo::after {
    content: none;
    display: none;
  }

  .company-card.is-featured .featured-company-copy-left {
    padding: 20px 28px;
  }

  .company-card.is-featured .featured-company-copy-left p {
    width: 100%;
    max-width: none;
    font-size: 14px;
    line-height: 1.55;
    transform: translateY(28px);
  }

  .company-card.is-featured .featured-company-copy-left p span {
    display: block;
    white-space: nowrap;
  }
}

@media (max-width: 1220px) and (min-width: 1101px) {
  .company-card.is-featured .featured-company-copy-left p {
    font-size: 13px;
  }
}

/* Scope-limited CBI logo composition fix. */
@media (min-width: 1101px) {
  .company-card.is-featured .company-logo img[src*="capital-bridge-investments-clean"] {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 214px;
    height: 100%;
    object-fit: cover !important;
    object-position: center !important;
    background: #202545 !important;
    padding: 0 !important;
    margin: 0 auto;
    transform: translateX(-50%) !important;
    clip-path: none;
  }
}

@media (max-width: 820px) {
  .sector-grid article {
    grid-template-rows: auto auto auto;
    align-content: end;
  }

  .sector-grid h3 {
    min-height: 0;
  }

  .news-card h3 {
    min-height: 0;
  }

  .company-card,
  .company-card.is-featured {
    min-width: 0;
    min-height: 386px;
    overflow: hidden;
  }

  .company-card .company-logo,
  .company-card.is-featured .company-logo {
    position: relative;
    flex: 0 0 152px;
    width: 100%;
    height: 152px;
    min-height: 152px;
    overflow: hidden;
  }

  .company-card .company-logo img,
  .company-card.is-featured .company-logo img[src*="capital-bridge-investments-clean"] {
    position: static;
    width: 100%;
    max-width: 100%;
    height: 152px !important;
    max-height: 152px;
    object-fit: contain !important;
    object-position: center !important;
    padding: 0 !important;
    margin: 0;
    transform: none !important;
    clip-path: none;
  }

  .company-card.is-featured .featured-company-copy-right {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px 24px 0;
  }

  .company-card.is-featured .featured-company-copy-right h3 {
    margin-top: 0;
  }

  .company-card.is-featured .featured-company-copy-right button {
    margin-top: auto;
  }

  .company-card:nth-child(1) .company-logo,
  .company-card:nth-child(1) .company-logo img { background: #202545 !important; }
  .company-card:nth-child(2) .company-logo,
  .company-card:nth-child(2) .company-logo img { background: #847327 !important; }
  .company-card:nth-child(3) .company-logo,
  .company-card:nth-child(3) .company-logo img { background: #1c1c1b !important; }
  .company-card:nth-child(4) .company-logo,
  .company-card:nth-child(4) .company-logo img { background: #6f6f6f !important; }
  .company-card:nth-child(5) .company-logo,
  .company-card:nth-child(5) .company-logo img { background: #12482f !important; }
  .company-card:nth-child(6) .company-logo,
  .company-card:nth-child(6) .company-logo img { background: #370914 !important; }

  .team-grid.is-expanded {
    grid-template-columns: 1fr;
  }

  .team-grid.is-expanded .person-card {
    min-width: 0;
  }
}

@media (min-width: 390px) and (max-width: 820px) {
  .team-grid.is-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
