.pct-together-section {
    position: relative;
    width: 100%;
    height: 700px;
    display: flex;
    background: #FFF;
    overflow: hidden; /* hides the videos while they are off-screen */
  }

  .pct-together-video {
    width: 50%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: transform 1.2s ease-out, opacity 1.2s ease-out;
  }

  .pct-together-video--left  { transform: translateX(-100%); }
  .pct-together-video--right { transform: translateX(100%); }

  /* Added by the script when the section scrolls into view */
  .pct-together-section.pct-together-in-view .pct-together-video {
    transform: translateX(0);
    opacity: 1;
  }

  .pct-together-heading {
    position: absolute;
    inset: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 5vw, 64px);
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 2s ease-in 1s; /* 2s slow fade, starts 1s in as the videos settle */
  }

  .pct-together-section.pct-together-in-view .pct-together-heading {
    opacity: 1;
  }

  @media (max-width: 700px) {
    .pct-together-section { height: 350px; } /* smaller on mobile */
    .pct-together-heading { font-size: 24px; }
  }