/* ==========================================================================
   Baby Safety Inc. — About page
   Sections unique to about.html; the shell comes from site.css.
   1. our story  2. our purpose  3. our approach
   4. presence   5. brand split  6. responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Our story
   -------------------------------------------------------------------------- */
.about-story {
  padding: clamp(34px, 3vw, 44px) 0;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: clamp(36px, 6.6vw, 96px);
  align-items: center;
}

.about-story-copy h2 {
  font-size: clamp(1.5rem, 2.36vw, 2.125rem);
  line-height: 1.2;
}

.about-story-copy p {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--text-body);
}

.quote-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(24px, 2.6vw, 34px) clamp(20px, 2.2vw, 30px);
  border-radius: 12px;
  background: #eaf1fa;
  text-align: center;
}

.quote-panel img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.quote-panel p {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 800;
  line-height: 1.42;
  color: var(--navy-dark);
}

/* --------------------------------------------------------------------------
   2. Our purpose
   -------------------------------------------------------------------------- */
.about-purpose {
  background: #f7fafc;
  padding: clamp(30px, 2.7vw, 40px) 0;
}

.about-purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(22px, 2vw, 30px);
}

.purpose-item {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding-inline: clamp(16px, 2.4vw, 34px);
  text-align: center;
}

.purpose-item + .purpose-item {
  border-left: 1px solid #dde5ee;
}

.purpose-item img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.purpose-item h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy-dark);
}

.purpose-item p {
  max-width: 17rem;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   3. Our approach
   -------------------------------------------------------------------------- */
.about-approach {
  padding: clamp(34px, 3vw, 44px) 0;
}

.about-approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 3.6vw, 52px);
  align-items: center;
}

.about-approach-media img {
  width: 100%;
  height: clamp(190px, 17vw, 246px);
  border-radius: 12px;
  object-fit: cover;
}

.about-approach-copy h2 {
  margin-top: 10px;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.18;
}

.about-approach-copy p {
  margin-top: 16px;
  max-width: 30rem;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   4. Global presence
   -------------------------------------------------------------------------- */
.about-presence {
  background: #eef3f8;
  padding: clamp(28px, 2.5vw, 36px) 0;
}

.about-presence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  gap: clamp(24px, 2.8vw, 40px);
  align-items: center;
}

.about-presence-copy h2 {
  font-size: clamp(1.45rem, 2.22vw, 2rem);
  line-height: 1.2;
}

.about-presence-copy p {
  margin-top: 14px;
  max-width: 27rem;
  font-size: 14.5px;
  line-height: 1.66;
  color: var(--text-body);
}

.about-presence-copy .btn {
  margin-top: 20px;
  min-height: 44px;
  border-radius: 6px;
}

.about-presence-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.3vw, 18px);
}

/* --------------------------------------------------------------------------
   5. Brand split
   -------------------------------------------------------------------------- */
.about-brand {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(30px, 2.7vw, 40px) 0 clamp(34px, 3vw, 44px);
}

/* Soft angled wash behind the wordmark, matching the reference's split field. */
.about-brand::before {
  content: "";
  position: absolute;
  inset: 0 0 0 46%;
  z-index: -1;
  background: linear-gradient(180deg, #f4f8fc 0%, #eef4fa 100%);
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

.about-brand-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 3.6vw, 52px);
  align-items: center;
}

.about-brand-copy h2 {
  margin-top: 4px;
  font-size: clamp(1.7rem, 2.85vw, 2.5rem);
  line-height: 1.16;
}

.about-brand-copy p {
  margin-top: 14px;
  max-width: 28rem;
  font-size: 14.5px;
  line-height: 1.66;
  color: var(--text-body);
}

.about-brand-copy .btn {
  margin-top: 20px;
  min-height: 44px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   6. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .about-story-grid {
    gap: clamp(28px, 4vw, 48px);
  }

  .about-presence-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .about-story-grid,
  .about-approach-grid,
  .about-brand-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-approach-media {
    order: -1;
  }

  .about-brand::before {
    inset: 0;
    clip-path: none;
    opacity: 0.6;
  }

  .about-purpose-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 26px;
  }

  .purpose-item {
    padding-inline: 0;
  }

  .purpose-item + .purpose-item {
    padding-top: 26px;
    border-left: 0;
    border-top: 1px solid #dde5ee;
  }
}

@media (max-width: 600px) {
  .about-presence-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-presence-copy .btn,
  .about-brand-copy .btn {
    width: 100%;
  }
}
