/* Philosophy: the motto as the lead, then a few short parts, each heading beside its text.
   Shared tokens and components come from styles.css; ph- = philosophy. */

/* The motto is the page's main statement, so the lead reads as a quotation in the serif */
.page-philosophy .page-hero .lead {
  font: 400 clamp(1.3rem, 2.3vw, 1.65rem) / 1.4 var(--font-serif);
  color: var(--heading);
  max-width: 28em;
  text-wrap: pretty;
}

.ph-part {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 16px 64px;
  padding: clamp(44px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.ph-part:first-child {
  padding-top: 0;
  border-top: 0;
}
.ph-part:last-child {
  padding-bottom: 0;
}
.ph-part h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.3rem);
  margin: 0;
}
.ph-body {
  max-width: 36em;
}
.ph-body > p {
  font-size: 1.08rem;
}
.ph-body > :last-child {
  margin-bottom: 0;
}

.ph-list {
  font-size: 1.04rem;
  gap: 14px;
  margin: 0;
}
.ph-list strong {
  color: var(--heading);
  font-weight: 600;
}

/* Pull quote under the research list (the green .quote panel from styles.css) */
.ph-quote {
  margin-top: 40px;
}
.ph-quote blockquote {
  margin: 0;
}
.ph-quote p {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}
.ph-quote cite a {
  color: inherit;
  text-decoration-color: rgba(227, 178, 115, 0.5);
}
.ph-quote cite a:hover {
  color: var(--on-panel);
}

/* Closing bridge to the offering */
.ph-bridge .ph-body > p {
  color: var(--muted);
}
.ph-bridge .btn {
  margin-top: 8px;
}

@media (max-width: 800px) {
  .ph-part {
    grid-template-columns: 1fr;
  }
}
