/* v17: four genuine brand marks, presented consistently in white on black. */
body[data-page="home"] .brand-portfolio {
  margin-bottom: 42px;
  padding-bottom: 42px;
  border-bottom: 1px solid #ffffff30;
}
body[data-page="home"] .brand-portfolio-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 36px;
  margin-bottom: 28px;
}
body[data-page="home"] .brand-portfolio-heading h2 {
  font-size: clamp(32px, 3.5vw, 50px);
  line-height: 1.2;
  letter-spacing: -.035em;
}
body[data-page="home"] .brand-company-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px solid #809071;
  color: #d0dac7;
}
body[data-page="home"] .brand-company-link:hover { color: var(--lime); border-color: var(--lime); }
body[data-page="home"] .brand-portfolio-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
body[data-page="home"] .brand-entry { display: flex; flex-direction: column; min-width: 0; color: var(--paper); }
body[data-page="home"] .brand-logo-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;
  padding: 20px;
  background: #000000;
  border: 1px solid #ffffff30;
}
body[data-page="home"] .brand-logo-stage img { width: 126px; height: 126px; object-fit: contain; }
body[data-page="home"] .brand-entry--ot .brand-logo-stage img { filter: brightness(0) invert(1); }
body[data-page="home"] .brand-entry--inverse .brand-logo-stage img { filter: grayscale(1) contrast(1.4) invert(1); }
body[data-page="home"] .brand-entry-caption {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  border-bottom: 1px solid #ffffff30;
  padding-block: 16px;
}
body[data-page="home"] .brand-entry-caption strong { display: block; font-size: 19px; line-height: 1.4; font-weight: 500; }
body[data-page="home"] .brand-entry-caption > span:first-child > span { display: block; color: #aebca0; font-size: 12px; line-height: 1.5; margin-top: 4px; }
body[data-page="home"] .brand-entry-caption > span:last-child { font-size: 24px; color: var(--lime); line-height: 1.3; }
body[data-page="home"] .brand-entry:hover .brand-entry-caption strong { text-decoration: underline; text-underline-offset: 5px; }
body[data-page="home"] .expertise .operations-heading { margin-bottom: 18px; }
body[data-page="home"] .expertise .operations-heading h2 { font-size: 26px; line-height: 1.35; letter-spacing: -.025em; }

@media (max-width: 760px) {
  body[data-page="home"] .brand-portfolio { margin-bottom: 32px; padding-bottom: 28px; }
  body[data-page="home"] .brand-portfolio-heading { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 23px; }
  body[data-page="home"] .brand-portfolio-heading h2 { font-size: 30px; line-height: 1.35; }
  body[data-page="home"] .brand-company-link { font-size: 13px; gap: 16px; }
  body[data-page="home"] .brand-portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  body[data-page="home"] .brand-logo-stage { height: auto; aspect-ratio: 1; padding: 10px; }
  body[data-page="home"] .brand-logo-stage img { width: 100%; height: 100%; max-height: 105px; }
  body[data-page="home"] .brand-entry-caption { gap: 4px; padding-block: 12px; }
  body[data-page="home"] .brand-entry-caption strong { font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
  body[data-page="home"] .brand-entry-caption > span:first-child > span { font-size: 12px; }
  body[data-page="home"] .brand-entry-caption > span:last-child { font-size: 18px; }
  body[data-page="home"] .expertise .operations-heading { margin-bottom: 2px; }
  body[data-page="home"] .expertise .operations-heading h2 { font-size: 24px; }
}
