.philosophy-main {
  position: relative;
}

.philosophy-container {
  width: min(100% - 3rem, 76ch);
  margin-inline: auto;
}

.philosophy-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.25rem, 5.4vw, 4rem);
  line-height: 1.15;
  text-wrap: balance;
}

.philosophy-hero .lead {
  max-width: 62ch;
}

.philosophy-rule {
  width: 52px;
  border-top: 2px solid var(--accent);
  margin-bottom: var(--space-5);
}

.philosophy-section {
  max-width: 68ch;
}

.philosophy-section h2 {
  margin-bottom: var(--space-2);
}

.philosophy-section p {
  color: var(--muted);
  line-height: 1.9;
  max-width: 66ch;
}

.philosophy-section p + p {
  margin-top: var(--space-3);
}

.philosophy-quote {
  margin: 0;
  border-left: 2px solid var(--accent);
  padding-left: var(--space-4);
  max-width: 54ch;
}

.philosophy-quote p {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.5;
  color: #f0d9b2;
}

.philosophy-closing {
  border-top: 1px solid var(--line);
  margin-top: var(--space-7);
}

.philosophy-closing h2 {
  max-width: 20ch;
}

.philosophy-actions {
  margin-top: var(--space-2);
}

@media (max-width: 900px) {
  .philosophy-container {
    width: min(100% - 2rem, 76ch);
  }

  .philosophy-hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .philosophy-quote {
    padding-left: var(--space-3);
  }
}

@media (max-width: 560px) {
  .philosophy-container {
    width: min(100% - 1.25rem, 76ch);
  }

  .philosophy-section p,
  .philosophy-hero .lead,
  .philosophy-closing .lead {
    overflow-wrap: anywhere;
  }

  .philosophy-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .philosophy-actions .button {
    width: 100%;
    text-align: center;
    white-space: normal;
    line-height: 1.35;
  }
}
