/* About page sections. Owns these selectors only; breakpoints sit at the end
   of the file, per the project CSS convention. */

/* Founders' photo under Our Story (app/assets/images/meet-matt-and-ryan.jpg,
   1448x1086). 4:3 slot at every width; object-fit covers a future photo that
   isn't exactly 4:3. */
.story-photo {
  margin: 10px 0 0;
}

.story-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow);
}

.story-photo figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--display-font);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}

/* Gap handles the space under .section-title, which owns `margin: 0` in
   base.css and cannot be overridden from this file. */
.story-section {
  display: grid;
  gap: 26px;
  max-width: var(--content);
  margin: 0 auto;
  padding: 72px clamp(20px, 4vw, 44px);
}

.story-body {
  max-width: 70ch; /* ~93 characters per line at 880px was over the comfortable ceiling */
  margin: 0 auto;
  color: var(--body);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.8;
}

.story-body p {
  margin: 0 0 18px;
}

.story-body p:last-child {
  margin-bottom: 0;
}

.info-band {
  padding: 60px var(--pad-x);
  background: var(--sky-wash);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
  max-width: var(--content);
  margin: 0 auto;
}

.info-card {
  border-radius: var(--card-radius);
  padding: 34px;
  background: #ffffff;
  box-shadow: var(--card-shadow);
}

.info-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.info-card p {
  margin: 0;
  color: var(--body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.7;
}

.safety-section {
  display: grid;
  gap: 38px;
  max-width: var(--content);
  margin: 0 auto;
  padding: 72px clamp(20px, 4vw, 44px) 84px;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.safety-item {
  text-align: center;
}

.safety-icon {
  display: block;
  margin-bottom: 14px;
  font-size: 2.25rem;
  line-height: 1;
}

.safety-item h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
}

.safety-item p {
  margin: 0;
  color: var(--body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .safety-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 640px) {
  .story-section {
    gap: 20px;
    padding: 52px 20px;
  }

  .info-band {
    padding: 44px 20px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    padding: 26px;
  }

  .safety-section {
    gap: 28px;
    padding: 52px 20px 60px;
  }
}
