/* Container & hero */
.page-container {
  max-width: 1200px;           /* slightly wider for 4 cards in a row */
  margin: 40px auto;
  padding: 0 20px;
}

.page-hero h1 {
  font-family: "Playfair Display SC", serif;
  font-size: clamp(2.5rem, 6vw, 3.5rem); /* scales with screen width */
  color: #3e4350;
  margin-bottom: 12px;
  text-align: center;
}

.page-hero .lead {
  color: #6b596b;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  margin-top: 0;
  margin-bottom: 48px;
  text-align: center;
}

/* Story Section */
.story {
  margin-bottom: 60px;
  text-align: center;
}

.story-text h2 {
  font-family: "Playfair Display SC", serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: #3e4350;
  margin-bottom: 24px;
}

.story-text p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.6;
  color: #3d3d3d;
  margin-bottom: 18px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Values Section */
.values {
  text-align: center;
  margin-bottom: 80px;
}

.values h2 {
  font-family: "Playfair Display SC", serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: #3e4350;
  margin-bottom: 32px;
}

/* Value cards in a row */
.values-cards {
  display: flex;
  flex-wrap: wrap;            /* allow wrapping if needed */
  justify-content: center;
  gap: 16px;                  /* smaller gap */
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: clamp(12px, 1.5vw, 18px);
  width: clamp(180px, 22%, 220px);  /* smaller cards */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  flex-shrink: 1;             /* allow shrinking */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card h3 {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin-bottom: 6px;
}

.card p {
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  line-height: 1.4;
  color: #3d3d3d;
}

.about-image {
  display: flex;
  justify-content: center;
  margin: 60px 0;
}

.about-image img {
  width: 100%;
  max-width: 820px;   /* perfect for vertical photos */
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}



/* Responsive adjustments */
@media (max-width: 1024px) {
  .values-cards {
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .values-cards {
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    width: clamp(220px, 45%, 280px); /* two cards per row on smaller desktops */
    margin-bottom: 20px;
  }
}

@media (max-width: 650px) {
  .story-text h2,
  .values h2 {
    text-align: center;
  }

  .story-text p {
    font-size: clamp(0.9rem, 3vw, 1rem);
  }

  .values-cards {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .card {
    width: 90%;
    max-width: 300px;
  }
}
