/*-- -------------------------- -->
<---           Founder           -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #founder {
    display: flex;
    flex-direction: column;
    scroll-margin-top: 6rem;
  }

  /* Left / top half -- near-black field the photo sits inside, with paper-
     cutout accents tucked around its corners. */
  #founder .cs-picture-col {
    width: 100%;
    padding: clamp(3rem, 8vw, 4rem) 1.25rem;
    background-color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  #founder .cs-picture {
    width: 100%;
    max-width: 26rem;
    aspect-ratio: 4 / 5;
    border-radius: 1.25rem;
    overflow: hidden;
    position: relative;
    z-index: 2;
  }
  #founder .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Paper-cutout accents scattered around the photo, matching the
     reference's collage treatment -- allowed to bleed off the section
     edges. */
  #founder .cs-shape-a,
  #founder .cs-shape-b,
  #founder .cs-shape-c,
  #founder .cs-shape-d {
    content: "";
    position: absolute;
    z-index: 1;
    pointer-events: none;
    background-repeat: repeat;
    background-size: 120px 120px;
    background-blend-mode: overlay;
    filter: url(#cs-paint-edge);
  }
  #founder .cs-shape-a {
    width: clamp(6rem, 15vw, 10rem);
    height: clamp(6rem, 15vw, 10rem);
    background-color: var(--primaryLight);
    background-image: var(--cs-paint-grain);
    border-radius: 0 100% 0 0;
    top: -1.5rem;
    left: -1.5rem;
    opacity: 0.9;
  }
  #founder .cs-shape-b {
    width: clamp(6rem, 14vw, 9rem);
    height: clamp(4rem, 9vw, 6rem);
    background-color: var(--accentRed);
    background-image: var(--cs-paint-grain);
    clip-path: polygon(0% 0%, 100% 0%, 100% 60%, 70% 60%, 70% 100%, 40% 100%, 40% 60%, 0% 60%);
    top: 2rem;
    right: -1.5rem;
    opacity: 0.9;
  }
  #founder .cs-shape-c {
    width: clamp(6rem, 15vw, 10rem);
    height: clamp(3rem, 7vw, 4.5rem);
    background-color: var(--secondary);
    background-image: var(--cs-paint-grain);
    clip-path: polygon(0% 100%, 0% 40%, 15% 40%, 15% 0%, 45% 0%, 45% 40%, 65% 40%, 65% 10%, 85% 10%, 85% 40%, 100% 40%, 100% 100%);
    bottom: 3.5rem;
    right: -1rem;
    opacity: 0.9;
  }
  #founder .cs-shape-d {
    width: clamp(6rem, 14vw, 9rem);
    height: clamp(5rem, 11vw, 7rem);
    background-color: var(--primaryDark);
    background-image: var(--cs-paint-grain);
    border-radius: 0 0 0 60%;
    bottom: -1.5rem;
    left: -1.5rem;
    opacity: 0.9;
  }

  /* Right / bottom half -- pale card the copy sits on. */
  #founder .cs-content-col {
    width: 100%;
    padding: clamp(3rem, 8vw, 4.5rem) 1.25rem;
    background-color: #f7f5df;
    display: flex;
    align-items: center;
  }
  #founder .cs-content {
    width: 100%;
    max-width: 32rem;
    margin: auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #founder .cs-topper {
    color: var(--accentText);
  }
  #founder .cs-title {
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    color: var(--navy);
  }
  #founder .cs-text {
    max-width: none;
    color: var(--bodyTextColor);
  }
  #founder .cs-text + .cs-text {
    margin-top: 1.25rem;
  }
}

/* Desktop - 64rem: two equal-height columns side by side */
@media only screen and (min-width: 64rem) {
  #founder {
    flex-direction: row;
    align-items: stretch;
  }
  #founder .cs-picture-col,
  #founder .cs-content-col {
    width: 50%;
    padding: 4rem;
  }
  #founder .cs-picture {
    max-width: 28rem;
  }
  #founder .cs-content {
    margin: auto auto auto 0;
  }
}
