body {
  margin: 0;
  background: transparent;
  color: #0f172a;
}

.brand-page-context .search-page-shell {
  padding-left: 0;
  padding-right: 0;
}

.brand-page-context .search-page-hero {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 24px;
  align-items: center;
}

.brand-page-logo-wrap {
  position: relative;
  overflow: hidden;
  width: min(240px, 100%);
  min-height: 84px;
  height: 84px;
  border-radius: 999px;
  margin: 0 auto;
  padding: 10px 12px;
  background:
    linear-gradient(to bottom, oklch(0.96 0.01 257), oklch(0.93 0.018 257 / 82%) 34%, oklch(0.985 0.01 257 / 82%));
  border: 1px solid rgba(226, 232, 240, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 0 0 0 rgba(255, 255, 255, 0),
    inset -0.35em -0.35em 0.25em -0.25em oklch(0.99 0.02 257),
    inset -0.33em -1em 0.75em -0.75em oklch(0.99 0.01 257),
    oklch(0.35 0.1 257 / 0.12) 0 0.34em 0.32em 0,
    oklch(0.35 0.1 257 / 0.12) 0 0.18em 0.18em 0,
    oklch(0.35 0.1 257 / 0.12) 0 0.08em 0.08em 0,
    oklch(0.35 0.1 257 / 0.10) 0 0.02em 0.02em 0;
}

.brand-page-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(
    98deg in oklab,
    oklch(0.8 0.1348 355.91) -5%,
    oklch(0.8 0.2 280),
    oklch(0.98 0.22 200) 160%
  );
  filter: blur(8px);
  opacity: 0.28;
  transform: translate3d(0.5em, 0, 0) scale(0.94);
}

.brand-page-logo-wrap img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 40px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.02);
}

.brand-page-logo-wrap.is-logo-missing::before {
  background:
    linear-gradient(135deg, rgba(226, 232, 240, 0.95), rgba(203, 213, 225, 0.9));
  filter: none;
  opacity: 1;
  transform: none;
}

.brand-page-logo-wrap.is-logo-missing::after {
  content: attr(data-brand-initials);
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #334155;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 12px 24px rgba(15, 23, 42, 0.08);
}

.brand-page-copy {
  display: grid;
  gap: 10px;
}

.brand-page-copy p {
  max-width: 62ch;
}

@media (max-width: 760px) {
  .brand-page-context .search-page-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-page-context .search-page-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .brand-page-logo-wrap {
    width: min(220px, 100%);
    min-height: 72px;
    height: 72px;
    padding: 8px 10px;
  }

  .brand-page-logo-wrap img {
    height: 34px;
  }
}
