/* ===== Brand Products Page — banner + image grid ===== */

/* Banner */
.bp-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  padding: 160px var(--pad-x) 56px;
  background-image: var(--bp-hero);
  background-size: cover;
  background-position: center;
  color: var(--paper);
  overflow: hidden;
}

.bp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 15, 18, 0.30) 0%, rgba(20, 15, 18, 0.82) 100%);
}

.bp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.bp-hero .breadcrumbs {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.bp-hero .breadcrumbs a {
  transition: color 0.25s var(--ease-out-soft);
}

.bp-hero .breadcrumbs a:hover {
  color: #fff;
}

.bp-hero-logo {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  margin-bottom: 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.bp-hero-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.bp-title {
  font-family: var(--font-sans);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.bp-tagline {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.5vw, 15px);
  letter-spacing: 0.04em;
  opacity: 0.85;
}

/* Grid section */
.bp-grid-section {
  background: var(--paper);
  padding: clamp(64px, 8vw, 110px) var(--pad-x);
}

.bp-grid-head {
  max-width: var(--max-w);
  margin: 0 auto clamp(40px, 5vw, 64px);
}

.bp-grid-title {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: 16px;
}

.bp-grid-sub {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.7;
  max-width: 70ch;
}

.bp-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

.bp-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(35, 31, 32, 0.05);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-soft);
}

.bp-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(35, 31, 32, 0.12);
}

.bp-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.35s var(--ease-out-expo);
}

.bp-item:hover img {
  transform: scale(1.05);
}

.bp-empty {
  text-align: center;
  opacity: 0.6;
  padding: 60px 0;
}

/* CTA */
.bp-cta {
  max-width: var(--max-w);
  margin: clamp(48px, 6vw, 80px) auto 0;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.bp-cta p {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.bp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 720px) {
  .bp-hero {
    min-height: 44vh;
    padding: 116px var(--pad-x) 36px;
  }

  .bp-hero-logo {
    padding: 10px 14px;
    margin-bottom: 20px;
  }

  .bp-hero-logo img {
    height: 38px;
  }
}

@media (max-width: 560px) {
  .bp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .bp-item {
    padding: 12px;
    border-radius: 12px;
  }
}

/* Plain banner for brands with no hero photo */
.bp-hero--plain {
  background: radial-gradient(circle at 28% 18%, #3a3552, var(--ink) 70%);
}

/* ===== Names-only categorised product list ===== */
.bp-groups {
  max-width: var(--max-w);
  margin: 0 auto;
  column-count: 3;
  column-gap: 48px;
}

@media (max-width: 1000px) {
  .bp-groups {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .bp-groups {
    column-count: 1;
  }
}

.bp-group {
  break-inside: avoid;
  margin-bottom: 40px;
}

.bp-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.bp-group-name {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.bp-group-count {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.45;
}

.bp-group-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bp-group-list li {
  font-size: 14px;
  line-height: 1.45;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0.82;
}

.bp-group-list li:last-child {
  border-bottom: none;
}

/* ── Hide decorative mono "metadata" labels on bespoke brand designs ──
   (client removed these in the legacy site: hero toplines, section tags,
   scroll hints, 00/05 counters). These class names exist only in the
   ported bespoke designs; this file loads only on brand pages. */
.topline,.hero-top,.hero-topline,.hero-meta,.hero-chapter,.section-top,
.section-line,.section-label,.section-meta,.seclabel,.hero-foot,
.me-hero-bottom,.hero-label,.scroll-hint,.scroll-note,.hero-bottom{display:none!important}
/* Piuma's .hero-bottom holds its colour-swatch picker (a feature) — keep it,
   hide only its scroll link + counter. */
.pm .hero-bottom{display:flex!important}
.pm .hero-bottom>a,.pm .hero-bottom>span{display:none!important}
