/* Authored \n breaks are desktop-only; below the site's mobile breakpoint
   (navbar switch, 1280px) the text reflows naturally. */
@media (max-width: 1280px) {
  br.multiline-br {
    display: none;
  }
}

.founder-note,
.founder-note *,
.founder-note *::before,
.founder-note *::after {
  box-sizing: border-box;
}

.founder-note {
  position: relative;
  width: 100%;
  color: #18141e;
  font-family: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
}

/* The surface extends one corner-radius behind the sections before and after
   Founder Note. Letting the negative layer escape this section's stacking
   context keeps neighboring rounded edges visible. */
.founder-note::before {
  position: absolute;
  inset: -20px 0;
  z-index: -1;
  background: var(--founder-note-background, #ded8ca);
  content: "";
  pointer-events: none;
}

.founder-note__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 675px));
  gap: 30px;
  width: 100%;
  max-width: 1440px;
  min-height: 700px;
  margin-inline: auto;
  padding: 0 30px;
}

.founder-note__portrait {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  min-height: 700px;
  align-self: stretch;
}

.founder-note__image {
  position: absolute;
  inset: 54px 0 0;
  display: block;
  width: 100%;
  height: calc(100% - 54px);
  object-fit: contain;
  object-position: var(--founder-note-image-position, center bottom);
}

.founder-note__content {
  grid-column: 2;
  grid-row: 1;
  width: min(621px, 100%);
  min-width: 0;
  align-self: start;
  justify-self: start;
  padding: 108px 0 83px;
}

.founder-note__marker {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 4px 18px;
  border-radius: 999px;
  background: #fcfcfc;
  color: #18141e;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 16.25px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.founder-note__note {
  margin-top: 47px;
  color: #18141e;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
}

.founder-note__author {
  margin: 43px 0 0;
  color: #18141e;
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  line-height: 20px;
}

.founder-note--image-right .founder-note__portrait {
  grid-column: 2;
}

.founder-note--image-right .founder-note__content {
  grid-column: 1;
  justify-self: end;
}

.founder-note[data-has-image="false"] .founder-note__content {
  grid-column: 1 / -1;
  justify-self: center;
}

.founder-note[data-has-image="false"] .founder-note__portrait {
  display: none;
}

@keyframes founder-note-reveal {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.founder-note-reveal .founder-note__portrait,
.founder-note-reveal .founder-note__content {
  opacity: 0;
}

.founder-note-reveal.is-revealed .founder-note__portrait,
.founder-note-reveal.is-revealed .founder-note__content {
  animation: founder-note-reveal 850ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.founder-note-reveal.is-revealed .founder-note__content {
  animation-delay: 120ms;
}

@media (max-width: 1100px) {
  .founder-note__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-height: 620px;
  }

  .founder-note__portrait {
    min-height: 620px;
  }

  .founder-note__image {
    top: 70px;
    height: calc(100% - 70px);
  }

  .founder-note__content {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

@media (max-width: 767px) {
  .founder-note::before {
    inset-block: -16px;
  }

  .founder-note__inner {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding: 0 20px;
  }

  .founder-note__content,
  .founder-note--image-right .founder-note__content,
  .founder-note[data-has-image="false"] .founder-note__content {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    justify-self: stretch;
    padding: 48px 0 42px;
  }

  .founder-note__marker {
    max-width: 100%;
  }

  .founder-note__note {
    margin-top: 34px;
    font-size: 15px;
    line-height: 20px;
  }

  .founder-note__author {
    margin-top: 32px;
    font-size: 15px;
  }

  .founder-note__portrait,
  .founder-note--image-right .founder-note__portrait {
    grid-column: 1;
    grid-row: 2;
    min-height: 420px;
  }

  .founder-note__image {
    inset: 0;
    height: 100%;
  }
}

@media (max-width: 420px) {
  .founder-note__inner {
    padding: 0 15px;
  }

  .founder-note__portrait {
    min-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .founder-note-reveal .founder-note__portrait,
  .founder-note-reveal .founder-note__content {
    opacity: 1;
    animation: none;
  }
}

