/* Section titles */
.section-title,
.page-hero h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2.5vw, 1.5rem);
  text-align: center;
}

.section-title::before,
.section-title::after,
.page-hero h1::before,
.page-hero h1::after {
  content: '';
  flex: 0 1 clamp(1.5rem, 8vw, 5rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(42, 61, 48, 0.35));
}

.section-title::after,
.page-hero h1::after {
  background: linear-gradient(270deg, transparent, rgba(42, 61, 48, 0.35));
}

/* Branch dividers — flipped + normal, one row */
.branch-divider {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0.625rem 0.5rem;
  position: relative;
  z-index: 2;
}

.branch-divider-img {
  width: min(23vw, 140px);
  height: auto;
  opacity: 0.85;
  display: block;
  flex: 0 1 auto;
}

.branch-divider-img--flip {
  transform: scaleX(-1);
}

/* Footer */
.site-footer::before {
  content: '';
  display: block;
  height: clamp(28px, 5vw, 48px);
  width: min(100%, 420px);
  margin: 0 auto 1.5rem;
  background: url('/images/flourishes/branch.svg') no-repeat center / contain;
  opacity: 0.8;
}

.footer-tagline {
  letter-spacing: 0.16em;
}

.footer-tagline::before,
.footer-tagline::after {
  content: '—';
  margin: 0 0.6rem;
  opacity: 0.45;
  font-weight: 300;
}

@media (max-width: 600px) {
  .branch-divider-img {
    width: min(22vw, 100px);
    opacity: 0.75;
  }

  .section-title::before,
  .section-title::after,
  .page-hero h1::before,
  .page-hero h1::after {
    flex-basis: 1.25rem;
  }
}
