.cw-portfolio-index-match {
  background: #141210;
  color: #f3efe7;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 40px);
  font-family: 'Inter', system-ui, sans-serif;
}

.cw-portfolio-index-match__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cw-portfolio-index-match__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px;
  align-items: end;
}

.cw-portfolio-index-match__eyebrow {
  margin: 0 0 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #d4f53c;
}

.cw-portfolio-index-match__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.cw-portfolio-index-match__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #ff5527;
}

.cw-portfolio-index-match__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.7);
}

.cw-portfolio-index-match__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 16px;
}

.cw-portfolio-index-match__picker {
  border: 1px solid rgba(243, 239, 231, 0.14);
  border-radius: 28px;
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cw-portfolio-index-match__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cw-portfolio-index-match__field-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #8e877c;
}

.cw-portfolio-index-match__plat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.cw-portfolio-index-match__chip-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cw-portfolio-index-match__chip {
  border: 1px solid rgba(243, 239, 231, 0.22);
  background: transparent;
  color: #f3efe7;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13.5px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cw-portfolio-index-match__chip.is-active {
  background: #ff5527;
  border-color: #ff5527;
  color: #141210;
}

.cw-portfolio-index-match__chip--plat {
  border-radius: 14px;
  padding: 12px 10px;
  font-weight: 600;
  text-align: left;
}

.cw-portfolio-index-match__results {
  background: #f3efe7;
  color: #141210;
  border-radius: 28px;
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.cw-portfolio-index-match__results-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.cw-portfolio-index-match__results-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #5a534a;
}

.cw-portfolio-index-match__results-note {
  font-size: 13px;
  color: #5a534a;
}

.cw-portfolio-index-match__row {
  cursor: pointer;
  border: 1px solid #cfc7ba;
  background: transparent;
  color: #141210;
  border-radius: 20px;
  padding: 12px 16px 12px 12px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.cw-portfolio-index-match__row.is-top {
  background: #141210;
  border-color: #141210;
  color: #f3efe7;
}

.cw-portfolio-index-match__row img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  object-position: top;
}

.cw-portfolio-index-match__row-name {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.cw-portfolio-index-match__row-why {
  font-size: 12.5px;
  opacity: 0.75;
}

.cw-portfolio-index-match__row-score {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.cw-portfolio-index-match__results-foot {
  margin-top: auto;
  border-top: 1px solid #d8d2c6;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.cw-portfolio-index-match__brief {
  font-size: 14px;
  line-height: 1.5;
  max-width: 340px;
}

.cw-portfolio-index-match__estimate {
  border: 0;
  background: #141210;
  color: #f3efe7;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}

.cw-portfolio-index-match__estimate:hover {
  background: #e0431c;
}
