/* ==========================================================================
   Baby Safety Inc. — Our Brand page
   Sections unique to brand.html; the shell comes from site.css.
   1. hero      2. product categories  3. starts-here band
   4. statement 5. responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */
.brand-hero .page-banner-inner {
  min-height: clamp(300px, 24.5vw, 353px);
}

.brand-hero h1 {
  margin-top: 4px;
  font-size: clamp(2.2rem, 4.3vw, 3.85rem);
  line-height: 1.02;
}

.brand-hero .page-banner-sub {
  margin-top: 12px;
}

/* The right of this photograph is the child's dark hair, so the scrim fades
   back up along the trailing edge; without it the script goes unreadable.
   Scoped above the stacked breakpoint so it cannot beat the vertical scrim
   site.css switches to on small screens. */
@media (min-width: 861px) {
  .brand-hero .page-banner-media::after {
    background:
      linear-gradient(
        270deg,
        rgba(255, 255, 255, 0.93) 0%,
        rgba(255, 255, 255, 0.78) 8%,
        rgba(255, 255, 255, 0.34) 16%,
        rgba(255, 255, 255, 0) 24%
      ),
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(255, 255, 255, 0.95) 26%,
        rgba(255, 255, 255, 0.82) 38%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 62%
      );
  }
}

/* --------------------------------------------------------------------------
   2. Product categories
   -------------------------------------------------------------------------- */
.brand-categories {
  padding: clamp(30px, 2.7vw, 40px) 0 clamp(34px, 3vw, 44px);
}

.brand-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}

.brand-cat-card {
  overflow: hidden;
  border: 1px solid #e6edf3;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform var(--ease), box-shadow var(--ease);
}

.brand-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.brand-cat-card img {
  width: 100%;
  height: clamp(104px, 9.6vw, 138px);
  object-fit: cover;
}

.brand-cat-body {
  padding: 14px 16px 18px;
}

.brand-cat-body h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--navy-dark);
}

.brand-cat-body h3 img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-cat-body p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   3. Starts-here band
   -------------------------------------------------------------------------- */
.brand-start {
  background: linear-gradient(180deg, #f4f8fc 0%, #eff5fa 100%);
  padding: clamp(32px, 2.9vw, 42px) 0 clamp(28px, 2.5vw, 36px);
}

.brand-start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 3.6vw, 52px);
  align-items: center;
}

.brand-start-copy h2 {
  margin-top: 2px;
  font-size: clamp(1.8rem, 3.1vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.brand-start-copy p {
  margin-top: 14px;
  max-width: 26rem;
  font-size: 14.5px;
  line-height: 1.66;
  color: var(--text-body);
}

.brand-start-copy .btn {
  margin-top: 20px;
  min-height: 44px;
  border-radius: 6px;
}

.brand-start .sok-lockup {
  padding-left: clamp(24px, 3.4vw, 50px);
  border-left: 1px solid #d9e3ed;
}

.brand-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  margin-top: clamp(26px, 2.4vw, 34px);
}

.brand-value {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.brand-value-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #dfeaf6;
}

.brand-value-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.brand-value span {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-dark);
}

/* --------------------------------------------------------------------------
   4. Statement
   -------------------------------------------------------------------------- */
.brand-statement .statement-band-inner {
  min-height: clamp(280px, 26.5vw, 382px);
  align-items: center;
}

.brand-statement .statement-band-media img {
  object-position: 74% 30%;
}

/* --------------------------------------------------------------------------
   5. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .brand-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .brand-start-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-start .sok-lockup {
    padding-left: 0;
    padding-top: 26px;
    border-left: 0;
    border-top: 1px solid #d9e3ed;
  }

  .brand-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }

  .brand-statement .statement-band-inner {
    align-items: stretch;
  }
}

@media (max-width: 600px) {
  .brand-cat-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-start-copy .btn {
    width: 100%;
  }
}
