/* Decorative section separators sit inside existing whitespace and add no height. */
.section-divider {
  position: relative;
  z-index: 3;
  width: min(1040px, calc(100% - 96px));
  height: 0;
  margin-inline: auto;
  color: var(--teal-dark);
  pointer-events: none;
}

.section-divider svg {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 100%;
  height: clamp(46px, 4.5vw, 66px);
  overflow: visible;
  transform: translate(-50%, -50%);
}

.section-divider .divider-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  opacity: .29;
  vector-effect: non-scaling-stroke;
}

.section-divider .divider-echo {
  fill: none;
  stroke: var(--teal);
  stroke-width: 1;
  stroke-linecap: round;
  opacity: .17;
  vector-effect: non-scaling-stroke;
}

.section-divider .divider-leaf {
  fill: rgb(224 134 42 / 9%);
  stroke: var(--orange);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .78;
  vector-effect: non-scaling-stroke;
}

.section-divider .divider-diamond {
  fill: var(--teal-dark);
  opacity: .68;
}

.section-divider .divider-glint {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: .5;
  vector-effect: non-scaling-stroke;
}

@media (max-width: 720px) {
  .section-divider {
    width: calc(100% - 38px);
  }

  .section-divider svg {
    height: 42px;
  }

  .section-divider .divider-line {
    stroke-width: 1.5;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .section-divider .divider-diamond {
    animation: divider-breathe 3.8s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
  }

  @keyframes divider-breathe {
    50% { opacity: .9; transform: scale(.82) rotate(45deg); }
  }
}
