/* ==========================================================================
   Chemesis Core — Internal page banner (About-family reproduction)
   ========================================================================== */

.ch-banner {
  position: relative;
  overflow: hidden;
  background: var(--ch-ink-950);
  color: #fff;
}

.ch-banner-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
}

.ch-banner-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}

.ch-banner-glow-left {
  top: 0;
  left: -12rem;
  width: 32rem;
  height: 32rem;
  opacity: 0.14;
  background: radial-gradient(circle, var(--ch-blue) 0%, transparent 65%);
}

.ch-banner-glow-bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56rem;
  height: 18rem;
  opacity: 0.1;
  background: radial-gradient(closest-side, var(--ch-blue) 0%, transparent 70%);
}

.ch-banner-inner {
  position: relative;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .ch-banner-inner {
    padding-top: 3rem;
    padding-bottom: 6rem;
  }
}

/* Breadcrumbs */
.ch-breadcrumbs {
  margin-bottom: 3rem;
}

/* Prototype PageBanner grid uses mt-16 (64px) from lg up. */
@media (min-width: 1024px) {
  .ch-banner:not(.ch-banner-compact) .ch-breadcrumbs {
    margin-bottom: 4rem;
  }
}

.ch-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ch-breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ch-breadcrumbs a,
.ch-breadcrumbs span {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.ch-breadcrumbs a {
  color: var(--ch-muted);
  transition: color 0.3s var(--ch-ease-expo);
}

.ch-breadcrumbs a:hover {
  color: var(--ch-ink-900);
}

.ch-breadcrumbs span[aria-current="page"] {
  color: var(--ch-ink-900);
}

.ch-breadcrumbs-sep {
  color: var(--ch-faint);
}

.ch-breadcrumbs-dark a {
  color: rgba(255, 255, 255, 0.55);
}

.ch-breadcrumbs-dark a:hover {
  color: #fff;
}

.ch-breadcrumbs-dark span[aria-current="page"] {
  color: #fff;
}

.ch-breadcrumbs-dark .ch-breadcrumbs-sep {
  color: rgba(255, 255, 255, 0.35);
}

/* Banner grid + content */
.ch-banner-grid {
  display: grid;
  align-items: center;
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .ch-banner-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .ch-banner-content {
    grid-column: span 5;
  }

  .ch-banner-content-wide {
    grid-column: span 7;
  }

  .ch-banner-aside {
    grid-column: 7 / span 6;
  }
}

.ch-banner-title {
  margin: 1.75rem 0 0;
  font-family: var(--ch-font-display);
  font-size: var(--ch-type-display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #fff;
  overflow-wrap: break-word;
}

.ch-banner-title .ch-wordmask {
  margin-right: 0.22em;
}

.ch-banner-brandline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ch-banner-brandline .ch-editorial {
  font-size: 1.3125rem;
  line-height: 1.75rem;
  color: var(--ch-blue-200);
}

.ch-banner-lead {
  max-width: 36rem;
  margin-top: 1.75rem;
}

.ch-banner-lead p {
  margin: 0;
  font-size: var(--ch-type-lead);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

.ch-banner-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ch-banner-highlight {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.ch-banner-highlight-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(122, 165, 255, 0.5);
  background: radial-gradient(circle, var(--ch-blue-300) 0%, transparent 70%);
}

/* Plaque ("At a glance") */
.ch-banner-plaque {
  position: relative;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.ch-banner-plaque .ch-tick {
  border-color: rgba(255, 255, 255, 0.25);
  opacity: 1;
}

.ch-banner-plaque-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.ch-banner-plaque-label {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ch-blue-300);
}

.ch-banner-plaque-brand {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.ch-banner-plaque-list {
  margin: 1.25rem 0 0;
}

.ch-banner-plaque-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ch-banner-plaque-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ch-banner-plaque-row dt {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.ch-banner-plaque-row dd {
  margin: 0;
  font-family: var(--ch-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: right;
}

.ch-banner-plaque-aside {
  margin-top: 1rem;
  font-family: var(--ch-font-body);
  font-size: var(--ch-type-body-sm);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

.ch-banner-plaque-aside p {
  margin: 0 0 0.75rem;
}

.ch-banner-plaque-aside ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.ch-banner-plaque-aside li {
  margin-bottom: 0.375rem;
}

/* Ruler + captions */
.ch-banner-ruler {
  margin-top: 3.5rem;
}

.ch-banner-ruler .ch-step-line {
  position: relative;
}

.ch-banner-ruler-ticks {
  position: absolute;
  inset-inline: 0;
  top: -4px;
  height: 8px;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  pointer-events: none;
}

.ch-banner-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-caption);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* Compact transactional variant */
.ch-banner-compact .ch-banner-inner {
  padding-block: 2.5rem;
}

@media (min-width: 768px) {
  .ch-banner-compact .ch-banner-inner {
    padding-block: 3rem;
  }
}

.ch-banner-compact .ch-breadcrumbs {
  margin-bottom: 1.5rem;
}

.ch-banner-title-compact {
  margin: 0;
  font-size: var(--ch-type-h2);
  line-height: 1.06;
  letter-spacing: -0.022em;
}

.ch-banner-lead-compact {
  max-width: 42rem;
  margin: 0.75rem 0 0;
  font-family: var(--ch-font-body);
  font-size: var(--ch-type-body-sm);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

/* Category archive banner: prototype uses the smaller display title */
.ch-banner-title-sm {
  font-size: var(--ch-type-display-sm);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

/* Category banner title: tighter word spacing so long names wrap like the
   prototype (2 lines at 1366 for "Botanical Extracts & Isolates"). */
.ch-banner-title-sm .ch-wordmask {
  margin-right: 0.14em;
}
